You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Reinhard Sandtner (JIRA)" <ji...@apache.org> on 2016/12/21 21:42:58 UTC

[jira] [Comment Edited] (BATCHEE-114) batchee-cdi blows up with AmbigiousResolutionException on wildfly 10.1.0.Final

    [ https://issues.apache.org/jira/browse/BATCHEE-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15768245#comment-15768245 ] 

Reinhard Sandtner edited comment on BATCHEE-114 at 12/21/16 9:42 PM:
---------------------------------------------------------------------

error between keyboard and chair ;)

jbatch was {{<scope>provided</scope>}} but if you don't build it has no effect - strange things happen :D


was (Author: rsandtner):
error between keyboard and chair ;)

jbatch was {{<scope>provided</scope>}} but if you don't build it has no effekt - strange things happen :D

> batchee-cdi blows up with AmbigiousResolutionException on wildfly 10.1.0.Final
> ------------------------------------------------------------------------------
>
>                 Key: BATCHEE-114
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-114
>             Project: BatchEE
>          Issue Type: Bug
>          Components: batchee-extensions
>    Affects Versions: 0.5-incubating
>            Reporter: Reinhard Sandtner
>            Assignee: Reinhard Sandtner
>
> stacktrace:
> {noformat}
> org.jboss.weld.exceptions.DeploymentException: WELD-001409: Ambiguous dependencies for type JobContext with qualifiers @Default
>   at injection point [BackedAnnotatedField] @Inject private org.apache.batchee.cdi.listener.BeforeJobScopeListener.jobContext
>   at org.apache.batchee.cdi.listener.BeforeJobScopeListener.jobContext(BeforeJobScopeListener.java:0)
>   Possible dependencies:
>   - Producer Method [JobContext] with qualifiers [@Any @Default] declared as [[UnbackedAnnotatedMethod] @Produces public org.jberet.creation.BatchBeanProducer.getJobContext()],
>   - Producer Method [JobContext] with qualifiers [@Any @Default] declared as [[UnbackedAnnotatedMethod] @Produces public org.apache.batchee.container.cdi.BatchProducerBean.getJobContext()]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)