这个是项目中没有正确引入Tomcat所致
右击工程->>buildpath->>configuer buildpath->>选择libraries,然后右边选择Add library->>Server Runtime->>next->>选择自己的Apache Tomcat,保存即可。