Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Lennart Enström opened SPR-10582 and commented
Se Reference URL for code. Note that there are technically 2 maven projects
SPR-10582-referenced (jar) contains class org.springframework.issues.Foo. Foo need not have any references to spring.
#15211 (war) has:
<component scan base-package="org.springframework.issues"/>
Upon redeployment of war, tomcat is unable to remove the file SPR-10582-referenced.....jar causing redeployment to fail.
Removing component-scan makes redeployment work.
Steps to reproduce:
The code contains two projects: SPR-10582-referenced and #15211
I have not found any workaround yet. Tried:
Reference URL: https://github.com/SpringSource/spring-framework-issues
The text was updated successfully, but these errors were encountered:
Phil Webb commented
File locking issues on Windows can be particularly problematic. Have you tried using the antiJARLocking configuration option in Tomcat ?
Sorry, something went wrong.
Lennart Enström commented
Thanks a lot. I tried antiJARLocking now and it is not enough although the antiResourceLocking is! According to the docs this latter option is rather brute though with side-effects.
Bulk closing outdated, unresolved issues. Please, reopen if still relevant.
No branches or pull requests