07-24-2018 06:12 AM
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
07-26-2018 08:54 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.