cancel
Showing results for 
Search instead for 
Did you mean: 

activiti validation jar

saradadeviy
Champ in-the-making
Champ in-the-making
while try to run activiti example getting following error and not able to download the required jar.
org/activiti/validation/ProcessValidatorFactory

Error msg: Exception in thread "main" java.lang.NoClassDefFoundError: org/activiti/validation/ProcessValidatorFactory
2 REPLIES 2

andrew_stubbs
Champ in-the-making
Champ in-the-making
This is the same issue as http://forums.activiti.org/content/issue-5151-missing-activiti-process-validation-module-jar-file

I find myself in the same position as you and have been looking for a solution.

I've had a look back through the releases and it appears that activiti-process-validation.jar hasn't been included in the released zip file since at least 5.12 (I didn't check if it was required, only that it was missing from the zip).

The possible solutions appear to be:

- Wait until release 5.16, where it will be included, I have no idea when that is likely to be.
- Use Maven to download Activiti instead of using the zip file: http://www.activiti.org/community.html#maven.repository
- Build Activiti yourself and then either drop in your built module to the released zip, or replace the zip with your built release: http://docs.codehaus.org/display/ACT/Developers+Guide#DevelopersGuide-Buildingthedistribution

jbarrez
Star Contributor
Star Contributor
process validation is a new jar, added only in the latest release.

There was indeed an error: it is not included in the zip file. Fetching it through Maven is a good workaround for now.