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 [.tomcat


檢查tomcat6.0.35沒問題,高於6.0.35會報錯。spa

 

解決辦法:

tomcat 6.0.35或以前版本。二、把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
.net

<Context  xmlBlockExternal="false">
相關文章
相關標籤/搜索