[weld-issues] [JBoss JIRA] Updated: (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
[ https://jira.jboss.org/jira/browse/WELD-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Sandoz updated WELD-234:
-----------------------------
Attachment: jcditest.zip
Attached is a simple maven project that can reproduce the issue.
After building deploy the war created in jcditest/webapp/target directory to the app server with 299 support.
> 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