Hello
When trying to redeploy one of earlier deployed applications, I am getting this exception
:
java.lang.IllegalStateException: Two components with the same name and precedence:
authenticator
| at
org.jboss.seam.init.Initialization.addComponentDescriptor(Initialization.java:410)
| at
org.jboss.seam.init.Initialization.installScannedComponentAndRoles(Initialization.java:652)
| at org.jboss.seam.init.Initialization.installScannedClass(Initialization.java:598)
| at org.jboss.seam.init.Initialization.scanForComponents(Initialization.java:592)
| at org.jboss.seam.init.Initialization.init(Initialization.java:490)
| .....
|
If I change the authenticator name and repackage, it complains to atother component and so
on.
Digging this forum I have found the similar case with the recommendation to run "Ant
cleanall". But I am using JBoss IDE , not pure Ant. I found
"Project".."Clean" that should resolve ann building issues, and ran
it. No effect.
The workaround was choosing "Project" context menu ..."convert to AOP
project" . Don't know what is AOP but deployment was successful only after that.
I guess this was not the right solution. Please explain what happened.
Thank you !
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084004#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...