Activiti Extension Project Problem with libs

cancel
Showing results for 
Search instead for 
Did you mean: 
antonioplay
Member II

Activiti Extension Project Problem with libs

Hello, i was trying to create an extention project to implement servise task with java delegate acording this https://community.alfresco.com/community/bpm/blog/2016/11/14/activiti-enterprise-developer-series-se... , and i faced the next problem - i need to generate reports in this task so i use external lib - yarg to do it. So i add to the activiti clathpath .jar of my project and .jar of yarg lib, but when i start the task, activiti generate exception 'java.lang.NoClassDefFoundError' to find this external lib yarg class.

So the question is how to solve this

1 Reply
ryandawson
Alfresco Employee

Re: Activiti Extension Project Problem with libs

Sounds like the extension jar doesn't contain the jar for the yarg lib. You could either change the build to include that jar or add the jar directly to tomcat in the lib directory.