java.lang.NoClassDefFoundError exception while testing or running a Groovy script
In some rare cases, testing a Groovy script that refers to a Jira class will throw a java.lang.NoClassDefFoundError exception while accessing any Jira built-in class.
We are unable to reproduce the issue. It looks like an OSGi issue, and it is resolved by a Jira restart (and maybe disabling/re-enabling JMWE).
jira version 8.3.1,
Java Version 1.8.0_222
did you test importing classes from Jira, and using the ComponentAccessor class without importing it? Also, did you check using services from other apps (CF the recent ticket about that)?
Still happens from time to time...