[jboss-user] [JBoss Seam] - Two components with the same name and precedence
do-not-reply at jboss.com
Thu Sep 13 10:57:47 EDT 2007
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#4084004
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084004
More information about the jboss-user