When I deploy my .spring file in an ear-file I get ClassNotFoundException on classes that are packed in jar files inside the earfile and are in application.xml.
I Have my spring25.jar in the jboss-spring-jdk5.deployer. If I put my jar-files in the lib directory it works just fine but that's not the way I want it. I want the dependencies in the ear file.
How do I get around this?