解决:
右击项目-->Build Path --> confugure build path...-->单击后选择Libraries
进行修改 Edit
选择你安装过的jre
然后把软件自带的tomcat删除掉