启动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">