Aneeque
Aneeque

Reputation: 99

HornetQHTWorkItemHandler cannot be resolved to a type

I am trying to work on jBPM 5.4 and when I import the evaluation example I get the error.

HornetQHTWorkItemHandler cannot be resolved to a type.

I have installed all the mentioned plugins but still can't get rid of this error.

Please help.

Upvotes: 1

Views: 742

Answers (2)

Sean
Sean

Reputation: 1474

Or you can add this to your pom.xml if you're using Maven:

<dependency>
  <groupId>org.jbpm</groupId>
  <artifactId>jbpm-human-task-hornetq</artifactId>
  <version>5.4.0.Final</version>
</dependency>

Upvotes: 0

Kris Verlaenen
Kris Verlaenen

Reputation: 2918

It seems you are missing the jbpm-human-task-hornetq jar in your classpath.

Did you use the jbpm-installer to install / set up your eclipse environment? The jBPM library should in that case reference the jbpm-installer/runtime folder which should contain all necessary jars.

Alternatively, if you don't use the installer, you can just download the jbpm-bin artefact and create a jBPM runtime based on that folder.

Creating a new runtime from inside the plugin itself will not work in this case, as that only contains the most basic jars to get you started, it does not include the human task jars.

Kris

Upvotes: 2

Related Questions