AnsweredAssumed Answered

NoClassDefFoundError while calling REST APIs

Question asked by adityap174 on Apr 1, 2014
Latest reply on Apr 1, 2014 by jbarrez
I am using 5.15.1-SNAPSHOT version of Activiti. While accessing the REST APIs, by running the start-rest.sh script, I am getting NoClassDefFoundError errors :

java.lang.NoClassDefFoundError: Could not initialize class org.activiti.rest.service.api.identity.GroupCollectionResource
while calling the url (to get user groups):
http://localhost:8081/activiti-rest/service/identity/groups?member=kermit

or
java.lang.NoClassDefFoundError: Could not initialize class org.activiti.rest.service.api.identity.UserCollectionResource
while calling the url (to get the users) :
http://localhost:8081/activiti-rest/service/identity/users

The full stack trace is in the attachments.

This generally happens when I start the explorer after starting the rest service.
They both are configured on different ports and database has been configured to mysql.

Any help will be appreciated. Thank You.


Outcomes