Reply To: Failed to clean project

Splash Forums PrettyFaces Users Failed to clean project Reply To: Failed to clean project

#26329

This problem cannot be solved by Rewrite. This is a Tomcat + Windows problem. I know about some people using Windows that regularly run into such problems.

The only workaround I’m aware of is to set antiJARLocking in Tomcat’s context configuration.

http://tomcat.apache.org/tomcat-7.0-doc/config/context.html

From the docs:

If true, the Tomcat classloader will take extra measures to avoid JAR file locking when resources are accessed inside JARs through URLs. This will impact startup time of applications, but could prove to be useful on platforms or configurations where file locking can occur. If not specified, the default value is false.