problems with updating classes and resources
Upon updating classes of an exploded war to tomcat 8.5 works half the time. The other half of the time I get the following error on multiple files: " InputStream is null for ClasspathResource{origin=classpath,path=/cpv/dialogs/components/page-body/cpvPersoCkSectionComponentDialog.yaml".
If you change one space and retry a couple of times, after a while the error disappears. if you make a change and update classes and resources again, it might come back or not. On updating Intellij idea gives a warning every time :
Warning:Artifacts builder: Cannot delete file 'C:/Data/workspace/magnolia-author/magnolia-author-webapp/target/magnolia-author-webapp-4.16.0-SNAPSHOT/WEB-INF/lib/magnolia-module-cpv-4.16.0-SNAPSHOT.jar'
Solution tried: set antiresourcelocking=true in context.xml in Tomcat
Could anybody help, as it is very difficult to develop efficiently like this?
Thanks
Please sign in to leave a comment.
Some process may be locking files, check with https://docs.microsoft.com/en-us/sysinternals/downloads/handle which one. It could be an antivirus or some backup tool.