I'm building a new Axis2 REST Service who's using some JAXB classes inside.
The JAXB classes are embedded inside a Jar file (let's call it JAXB.jar)
The architecture of my aar file is like this :
service.aar
- org \ company \ myService.class
- META-INF \ services.xml
- lib \ JAXB.jar
Inside my myService.class file I call JAXB classes with the package they have inside the Jar file...
But when I start my server (Tomcat), I get an error like :
Error: org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generation: null...
I also tried to move the JAXB.jar file inside my axis2 webapp lib folder, but same message.
Any idea of what i'm doing wrong ?