My context.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/candy"/>
How can i get rid of this warning? My project is running on Netbeans and Tomcat 8.0.9: Setting property 'antiJARLocking' to 'true' did not find a matching property
antiJARLocking is an attribute in Tomcat 7, which has been removed in Tomcat 8.
So, for Tomcat 8, just use antiResourceLocking.
https://tomcat.apache.org/tomcat-7.0-doc/config/context.html
https://tomcat.apache.org/tomcat-8.0-doc/config/context.html
Remove the attribute from the context.xml file. Tomcat does not support it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With