java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • CDI ambiguous dependency error for StageConfig
    via by John Hovell,
  • Problem with microprofile fraction
    via by Mauri Claudio,
    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.wildfly.swarm.bootstrap.Main.invoke(Main.java:86) at org.wildfly.swarm.bootstrap.Main.run(Main.java:50) at org.wildfly.swarm.bootstrap.Main.main(Main.java:45) Caused by: org.wildfly.swarm.container.DeploymentException: WFSWARM0007: Deployment failed: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"myapp.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"smyapp.war\".WeldStartService: Failed to start service Caused by: org.jboss.weld.exceptions.DeploymentException: Exception List with 8 exceptions: 2016-08-17 18:02:37,930 ERROR [stderr] (main) Exception 0 : 2016-08-17 18:02:37,930 ERROR [stderr] (main) org.jboss.weld.exceptions.DeploymentException: WELD-001409: Ambiguous dependencies for type StageConfig with qualifiers @Default 2016-08-17 18:02:37,930 ERROR [stderr] (main) at injection point [UnbackedAnnotatedField] @Inject private org.wildfly.swarm.container.runtime.cdi.ConfigurationValueProducer.stageConfig at org.wildfly.swarm.container.runtime.cdi.ConfigurationValueProducer.stageConfig(ConfigurationValueProducer.java:0)
    No Bugmate found.