[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - Tomcat java compiler ignores annotations
bill.burke@jboss.com
do-not-reply at jboss.com
Fri Aug 11 15:06:08 EDT 2006
The java compiler that compiles JSPs that comes with Tomcat does not insert annotation information into the .class bytes. This means that if you use @EJB, or whatever in your USP, the field/method it is annotated to will not have the annotation embedded in bytecode. Thus any annotation processor will fail.
I haven't tried the old ANT way of doing this stuff yes, but we may have to revert to that. Should I reenable the ant stuff if it does the appropriate annotation compilation?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964680#3964680
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964680
More information about the jboss-dev-forums
mailing list