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