component-scan of class in separate jar causes repeated tomcat redeply to fail in its attempt to remove the jar [SPR-10582] #15211
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: bulk-closed
An outdated, unresolved issue that's closed in bulk as part of a cleaning process
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
Further notes:
I have not found any workaround yet. Tried:
without success
@Component
Affects: 3.2.2
Reference URL: https://github.com/SpringSource/spring-framework-issues
The text was updated successfully, but these errors were encountered: