我的context.xml文件:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/candy"/>
我怎样才能摆脱这个警告?我的项目正在Netbeans上运行,Tomcat 8.0.9:将属性'antiJARLocking‘设置为'true’,没有找到匹配的属性
发布于 2015-01-30 02:22:47
从context.xml文件中删除该属性。猫不支持它。
发布于 2015-11-04 06:14:42
antiJARLocking是Tomcat 7中的一个属性,已在Tomcat 8中删除。
因此,对于Tomcat 8,只需使用antiResourceLocking即可。
https://tomcat.apache.org/tomcat-7.0-doc/config/context.html
https://tomcat.apache.org/tomcat-8.0-doc/config/context.html
https://stackoverflow.com/questions/28228132
复制相似问题