啟動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">