IllegalAnnotationsException when executing AsyncWorkItemHandler in kie-server

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content