1 Could not resolve XML resource [null] with public ID [null]


启动Tomcat报错: Java.io.FileNotFoundException: Could not resolve XML resource [null] with public ID [null], system ID [.


检查tomcat6.0.35没问题,高于6.0.35会报错。

 

解决办法:

tomcat 6.0.35或之前版本。2、把xmlBlockExterna设成false。 
下面是原版解释: 
As per discussion with Tomcat developers, xmlBlockExternal=”true” attribute of Tomcat’s Context (context.xml) was set true by default starting from 7.0.52. With xmlBlockExternal=”false”generated/djn-settings.conf can be included】 
修改Servers conf/context.xml

<Context  xmlBlockExternal="false">


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM