IllegalAnnotationsException when executing AsyncWorkItemHandler in kie-server
Issue
It is not possible to start a process which includes AsyncWorkItemHandler and executes some command. The execution of such process fails with this error message:
Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "status". Use @XmlType.name and @XmlType.namespace to assign different names to them.
this problem is related to the following location:
at org.kie.api.task.model.Status
this problem is related to the following location:
at org.kie.api.executor.STATUS
Environment
- Red Hat JBoss BPM Suite
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
