[weld-issues] [JBoss JIRA] Created: (WELD-788) Circular dependency error with singleton instances

Christopher Brock (JIRA) jira-events at lists.jboss.org
Mon Dec 13 17:36:52 EST 2010


Circular dependency error with singleton instances
--------------------------------------------------

                 Key: WELD-788
                 URL: https://issues.jboss.org/browse/WELD-788
             Project: Weld
          Issue Type: Bug
    Affects Versions: 1.1.0.CR1
            Reporter: Christopher Brock


Exception in thread "main" org.jboss.weld.exceptions.DeploymentException: WELD-001443 Pseudo scoped bean has circular dependencies. Dependency path [Managed Bean [class org.jboss.seam.forge.shell.plugins.builtin.LsMavenPomPlugin] with qualifiers [@Any @Default], Managed Bean [class org.jboss.seam.forge.shell.ShellImpl] with qualifiers [@Any @Default], Managed Bean [class org.jboss.seam.forge.shell.command.fshparser.FSHRuntime] with qualifiers [@Any @Default], Managed Bean [class org.jboss.seam.forge.shell.ShellImpl] with qualifiers [@Any @Default]]

Weld is complaining about circular dependencies between two classes (this is from Seam Forge), FSHRuntime and ShellImpl, which are both @Singleton.  Given that, this error would appear to be misplaced.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list