Skip to main content

Seam Solder @MessageBundle generating the implementation classes Maven Error



I followed the documentation to use @MessageBundle with Seam Solder 3.1.0 here :





http://docs.jboss.org/seam/3/3.1.0.Final/reference/en-US/html/solder-logging.html#typed-message-bundles





but a get en error at compile time when Maven try to compile generated annotation :







[ERROR] error: Cannot read com.apps.web.messages package files, cause : java.io.FileNotFoundException: com.apps.web.messages/WebMessages







When I check in target directory the file is generated correctly :







target/generated-sources/annotations/com/apps/web/messages/WebMessages_$bundle.java







It seems that the maven plugins or the compiler can not find the interface WebMessages localized in src/main/java/com/apps/web/messages/ when he try to compile WebMessages_$bundle generated file.





Environnement:





Seam Solder 3.1.0.Final / Maven 3.0.3 / JDK 1.7 / JBoss AS 6.1.0


Comments

Popular posts from this blog

Wildcards in a hosts file

I want to setup my local development machine so that any requests for *.local are redirected to localhost . The idea is that as I develop multiple sites, I can just add vhosts to Apache called site1.local , site2.local etc, and have them all resolve to localhost , while Apache serves a different site accordingly.