[weld-issues] [JBoss JIRA] Created: (WELDX-168) Poor error message when there are multiple generic producer methods resolved

Pete Muir (JIRA) jira-events at lists.jboss.org
Sun Oct 10 12:34:39 EDT 2010


Poor error message when there are multiple generic producer methods resolved
----------------------------------------------------------------------------

                 Key: WELDX-168
                 URL: https://jira.jboss.org/browse/WELDX-168
             Project: Weld Extensions
          Issue Type: Bug
          Components: Generic Beans
            Reporter: Pete Muir


org.jboss.arquillian.impl.event.FiredEventException: org.jboss.weld.exceptions.DeploymentException: WELD-001409 Ambiguous dependencies for type [BlobStore] with qualifiers [@TestContainer] at injection point [[field] @Inject @TestContainer private org.jboss.seam.jclouds.test.blobstore.Consumer.blobStore]. Possible dependencies [[Producer Method [BlobStore] with qualifiers [@Any @GenericMarker @Synthetic] declared as [[method] @Produces public org.jboss.seam.jclouds.blobstore.BlobStoreManager.getBlobStore()], Producer Method [BlobStore] with qualifiers [@Any @GenericMarker @Synthetic] declared as [[method] @Produces public org.jboss.seam.jclouds.blobstore.BlobStoreManager.getBlobStore()]]]

This somehow needs to indicate the path the possible producers.

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

        


More information about the weld-issues mailing list