When I implement my own OAuth1Provider CDI complains with
org.jboss.weld.exceptions.DeploymentException: WELD-001409: Ambiguous dependencies for type OAuth1Provider with qualifiers @Default
at injection point [UnbackedAnnotatedField] @Inject private org.glassfish.jersey.server.oauth1.internal.AccessTokenResource.provider
at org.glassfish.jersey.server.oauth1.internal.AccessTokenResource.provider(AccessTokenResource.java:0)
Possible dependencies:
- Managed Bean [class org.glassfish.jersey.server.oauth1.DefaultOAuth1Provider] with qualifiers [@Any @Default],
- Managed Bean [class ....OAuth1Provider_] with qualifiers [@Any @Default]
When I implement my own OAuth1Provider CDI complains with
OAuth1Provider_ class is my own.
Affected Versions
[2.25]