org.jboss.weld.exceptions.DeploymentException: > WELD-001409 Injection point has ambiguous dependencies. Injection > point: field ljnelson.frobnicator.jaxrs.FrobnicatorResource.junk; > Qualifiers: [@javax.enterprise.inject.Default()]; Possible > dependencies: [org.jboss.weld.bean-/Users/paulsandoz/Downloads/ > glassfish-bugs/frobnicator/ear/target/gfdeploy/ljnelson_frobnicator- > ear_ear_1.0-SNAPSHOT/lib/frobnicator-jaxrs-1.0-SNAPSHOT.jar- > ManagedBean-class ljnelson.frobnicator.jaxrs.Junk, > org.jboss.weld.bean-/Users/paulsandoz/Downloads/glassfish-bugs/ > frobnicator/ear/target/gfdeploy/ljnelson_frobnicator-ear_ear_1.0- > SNAPSHOT/frobnicator-war-1.0-SNAPSHOT_war/-ManagedBean-class > ljnelson.frobnicator.jaxrs.Junk] > at > org > .jboss > .weld.bootstrap.Validator.validateInjectionPoint(Validator.java:280) > at > org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:122) > at > org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:141) > at > org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:331) > at > org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java: > 317) > at > org > .jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java: > 399) >

Oracle Community | ljnelson | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    JAX-RS on Glassfish 3.1: @EJB injection?

    Oracle Community | 7 years ago | ljnelson
    org.jboss.weld.exceptions.DeploymentException: > WELD-001409 Injection point has ambiguous dependencies. Injection > point: field ljnelson.frobnicator.jaxrs.FrobnicatorResource.junk; > Qualifiers: [@javax.enterprise.inject.Default()]; Possible > dependencies: [org.jboss.weld.bean-/Users/paulsandoz/Downloads/ > glassfish-bugs/frobnicator/ear/target/gfdeploy/ljnelson_frobnicator- > ear_ear_1.0-SNAPSHOT/lib/frobnicator-jaxrs-1.0-SNAPSHOT.jar- > ManagedBean-class ljnelson.frobnicator.jaxrs.Junk, > org.jboss.weld.bean-/Users/paulsandoz/Downloads/glassfish-bugs/ > frobnicator/ear/target/gfdeploy/ljnelson_frobnicator-ear_ear_1.0- > SNAPSHOT/frobnicator-war-1.0-SNAPSHOT_war/-ManagedBean-class > ljnelson.frobnicator.jaxrs.Junk] > at > org > .jboss > .weld.bootstrap.Validator.validateInjectionPoint(Validator.java:280) > at > org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:122) > at > org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:141) > at > org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:331) > at > org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java: > 317) > at > org > .jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java: > 399) >

    Root Cause Analysis

    1. org.jboss.weld.exceptions.DeploymentException

      > WELD-001409 Injection point has ambiguous dependencies. Injection > point: field ljnelson.frobnicator.jaxrs.FrobnicatorResource.junk; > Qualifiers: [@javax.enterprise.inject.Default()]; Possible > dependencies: [org.jboss.weld.bean-/Users/paulsandoz/Downloads/ > glassfish-bugs/frobnicator/ear/target/gfdeploy/ljnelson_frobnicator- > ear_ear_1.0-SNAPSHOT/lib/frobnicator-jaxrs-1.0-SNAPSHOT.jar- > ManagedBean-class ljnelson.frobnicator.jaxrs.Junk, > org.jboss.weld.bean-/Users/paulsandoz/Downloads/glassfish-bugs/ > frobnicator/ear/target/gfdeploy/ljnelson_frobnicator-ear_ear_1.0- > SNAPSHOT/frobnicator-war-1.0-SNAPSHOT_war/-ManagedBean-class > ljnelson.frobnicator.jaxrs.Junk] > at > org > .jboss > .weld.bootstrap.Validator.validateInjectionPoint(Validator.java:280) > at > org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:122) > at > org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:141) > at > org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:331) > at > org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java: > 317) > at > org > .jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java: > 399) >

      at org.glassfish.weld.WeldDeployer.event()
    2. Embedded GlassFish Web
      WeldDeployer.event
      1. org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:178)
      1 frame