【解决方法】 选择Build Path>Configure Build Path... Add Library... 在出现的窗口中选择Server Runtime,选择Next,选择tomcat vXX 完成