要找的原因:有可能tomcat没有编译进去 解决办法:项目右击àpropertiesàJava Build PathàDefault output folder:填上"你的项目名/target/classes"