部署后生成的war,没有看到servlet

时间:2014-01-03 23:44:07

标签: eclipse maven web tomcat7 war

我生成了两个war文件,一个使用export->使用maven-war-plugin在Eclips中使用war文件。当我在localhost tomcat7或外部服务器上部署此war时,Tomcat应用程序找不到servlet。指向servlet的链接返回404错误

War是正确部署的,因为主页显示正确。

Eclipse没有在servlet中显示任何错误,所以我说这不是问题。

部署war目录结构如下所示:

 css, fonts, img, js, loess, META-INF, pages, WEB-INF (with epmpty controller folder and the folder lib with my jar eg. Mysql_connector). But nowhere I can not see the folders with my model

有谁知道为什么会这样?

0 个答案:

没有答案