Dear all,
I'm having an issue with the classpath and the zip file that
maven creates after running
mvn assembly:assembly
The issue is this:
I'm having a problem reading an XML file that I read and use it as a template. My xml file is under /src/main/resouces/ and it is called slmData.xml
when I run the package and do the automatic tests my classes read the file and modify the xml this file is within the jar file.
However, when I create the zip file that contains all the jar dependencies my classes are not able to read this xml file.
Do you know if there's any issue with the class path when doing the assembly? my xml is still within the same jar as generated with the mvn package step.
What my cresources contains
My class:
What the jar (after mvn package) contains
What my zip file (after assembly contiains)
The stack trace:
do you see any issue why it doesn't find anything?
Regards