When I tried your previous suggestion it didn't work with the same exception. The only
way to workaround that was to override GenericAnnotationDeployer output(). Also, when I
disabled my custom deployer entirely, I was still able to get AnnotationEnviroment during
REAL phase. That's why I think there is another deployer somewhere that attaches AE to
deployment unit and that is what causing the conflict.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228607#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...