首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

项目在tomcat启动时报错解决方案

2012-10-19 
项目在tomcat启动时报错拿了个项目放上去tomcat启动报错严重: Exception starting filter struts2The pack

项目在tomcat启动时报错
拿了个项目放上去tomcat启动报错

严重: Exception starting filter struts2
The package name 'struts-ccc' at location package - jar:file:/D:/Program%20Files/Apache%

20Software%20Foundation/Tomcat%206.0/webapps/myjob/WEB-INF/lib/myjob.jar!/struts.xml:19:68 is 

already been used by another package at location package - file:/D:/Program%20Files/Apache%

20Software%20Foundation/Tomcat%206.0/webapps/myjob/WEB-INF/classes/struts.xml:19:68 - package - 

jar:file:/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/myjob/WEB-

INF/lib/myjob.jar!/struts.xml:19:68
这句话什么意思,该怎么处理?

[解决办法]
你有两个struts.xml文件吧,一个在myjob.jar里面,一个在myjob/WEB-INF/classes/struts.xml
[解决办法]
应该是jar包冲突的问题,Tomcat无法找到正确的配置文件了
[解决办法]
你的jar包和XML的问题,好好检查下你的配置吧,jar包可以换
[解决办法]
jar包里struts.xml冲突

热点排行