[weld-issues] [JBoss JIRA] Created: (WELD-234) Ambiguous dependencies error when obtaining/injecting a reference to an Extension

Paul Sandoz (JIRA) jira-events at lists.jboss.org
Wed Oct 28 10:20:05 EDT 2009


Ambiguous dependencies error when obtaining/injecting a reference to an Extension
---------------------------------------------------------------------------------

                 Key: WELD-234
                 URL: https://jira.jboss.org/jira/browse/WELD-234
             Project: Weld
          Issue Type: Bug
            Reporter: Paul Sandoz
            Priority: Blocker
         Attachments: jcditest.zip

When attempting to obtain a reference to an Extension (either programatically or via @Inject) an exception is throw similar to the following:

   org.jboss.weld.DeploymentException: Injection point has ambiguous dependencies. Injection point: field
   com.sun.jersey.samples.jcdibeans.resources.JCDIBeanPerRequestResource.teb; Qualifiers:
   [@javax.enterprise.inject.Default()]; Possible dependencies: [org.jboss.weld.bean-deployment-Built-in-
   Extension-foo.TestExtensionBean, org.jboss.weld.bean-/Users/paulsandoz/Projects/jersey/branches/jersey-
   1.1.4-ea-SNAPSHOT/samples/jcdi-beans-webapp/target/jcdi-beans-webapp/-ManagedBean-
   foo.TestExtensionBean]



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list