cancel
Showing results for 
Search instead for 
Did you mean: 

NoClassDefFoundError while calling REST APIs

adityap174
Champ in-the-making
Champ in-the-making
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.


1 REPLY 1

jbarrez
Star Contributor
Star Contributor
We released 5.15.1 today, could you try with this official version?