[weld-issues] [JBoss JIRA] Closed: (WELD-234) Ambiguous dependencies error when obtaining/injecting a reference to an Extension
Pete Muir (JIRA)
jira-events at lists.jboss.org
Fri Oct 30 06:51:05 EDT 2009
[ https://jira.jboss.org/jira/browse/WELD-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir closed WELD-234.
--------------------------
Resolution: Done
Assignee: Pete Muir
Fixed, extensions aren't managed beans
> 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
> Assignee: Pete Muir
> 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