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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
  • 2021-05-21
  • 2022-12-23
猜你喜欢
  • 2021-04-25
  • 2021-05-30
  • 2022-02-12
  • 2022-01-23
  • 2022-01-12
  • 2022-01-11
相关资源
相似解决方案