新版tomcat无法解析web.xml问题

错误日志:
 java.io.FileNotFoundException: Could not resolve XML resource [null] with public ID [null], system ID [classes/xxx.xml] and base URI [file:/home/xxx/apache-tomcat-8.5.11/webapps/bbbb/WEB-INF/web.xml] to a known, local entity.


解决方法:
vi conf/context.xml
中添加属性xmlBlockExternal,具体如:

你可能感兴趣的:(工具,Linux)