解决办法: 右键所在项目 build path configure build path java build path Add Library server Run time (Apache Tomcat) Finish