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

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Oct 28 10:35:08 EDT 2009


     [ https://jira.jboss.org/jira/browse/WELD-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated WELD-234:
---------------------------

    Fix Version/s: 1.0.0.CR2


> 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
>             Fix For: 1.0.0.CR2
>
>         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