Scannotation to find classes in ear / war / bank

My application runs under JBoss AS 6.

If the application has been deployed unassembled, scannotation finds the classes successfully. But if the application is deployed in an archive in an EAR that contains a WAR that contains a JAR, scannotation cannot scan my classes.

FileNotFoundException: /opt/jboss-6.0.0.Final/server/default/deploy/icob.ear/icob-web.war/WEB-INF/lib/vraptor-3.3.2-SNAPSHOT.jar (not a directory)

How should I continue?

+3
source share

All Articles