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