This content has been marked as final.
Show 2 replies
-
1. Re: JBoss AS 7 ApplicationException Annotation problem
wdfink Jun 7, 2013 1:18 AM (in response to g9276012)What exact version of JBoss you use?
THe problem is that the annotations are not processed in modules, the support is added later.
Look for articles how to add a jandex index to the module, you can create it via maven build or with tools.
-
2. Re: JBoss AS 7 ApplicationException Annotation problem
g9276012 Jun 7, 2013 1:27 AM (in response to wdfink)im using JBoss 7.1.1 Final
i tried it , it wors.
my steps as below.
1. create jandex index in that module.
2. create jboss-deployment-structure.xml which declare module tag with annotations= true.
thx