This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have an external authentication library (foo API) - it is a jar file ( foo.jar). This .jar file has also inside, .jars for oracle connection, springframework, etc... and the respective configuration files (properties and xml files). Well, i made a module library wrapper from this module. Till here, everything right. I have in my application a method that initializes authentication and another for authenticate. I build and run the application, and it's all Ok. My foo API is called, and do it's job (loads it's xml files and connects to database to see users and makes authentication). The problem, is when i try to run the application for the 2nd time and so on. What happened is that the foo API can't find anymore, a .xml file that is in the foo.jar file. 1 [AWT-EventQueue-1] INFO xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring-msaapi.xml] org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [ spring-msaapi.xml]; nested exception is java.io.FileNotFoundException: class path resource [spring-msaapi.xml] cannot be opened because it does not exist Caused by: java.io.FileNotFoundException: class path resource [spring-msaapi.xml ] cannot be opened because it does not exist ->>> It's weird because the file is inside foo.jar, and it was loaded by foo API for the first run time. I discovered that if i delete the ${USERDIR}/.{APPNAME}/dev/var/cache/all-manifests.dat before run the application, all goes right.
I see that this behaviou is not happening in latest builds... so, it might already been discovered and solved.
Hi cvieira, closing as worksforme if you have no objections. Fell free to reopen if you encounter this behavior again.