Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA 6.4.1 can't startup due to ClassNotFoundException: org.codehaus.groovy.runtime.GroovyCategorySupport$1

zhen zhang
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 5, 2015

Hi ALL,

I restart the JIRA service, but can't startup due to below exception. Does anyone have idea on this exception?

thanks in advance!

 

May 06, 2015 9:36:23 AM org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: destroy called
May 06, 2015 9:36:36 AM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of class com.atlassian.jira.startup.LauncherContextListener
java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/GroovyCategorySupport$1
at java.lang.Class.getDeclaringClass0(Native Method)
at java.lang.Class.getDeclaringClass(Class.java:1235)
at java.lang.Class.getEnclosingClass(Class.java:1277)
at java.lang.Class.getCanonicalName(Class.java:1392)
at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.getPrettyClassName(BruteForceThreadLocalCleanup.java:257)
at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.checkThreadLocalMapForLeaks(BruteForceThreadLocalCleanup.java:181)
at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanUpThreadImpl(BruteForceThreadLocalCleanup.java:135)
at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanupThreadLocals(BruteForceThreadLocalCleanup.java:94)
at com.atlassian.threadlocal.BruteForceThreadLocalCleanup.cleanUp(BruteForceThreadLocalCleanup.java:63)
at com.atlassian.jira.startup.DefaultJiraLauncher.cleanupThreadLocals(DefaultJiraLauncher.java:225)
at com.atlassian.jira.startup.DefaultJiraLauncher.cleanupAfterOurselves(DefaultJiraLauncher.java:210)
at com.atlassian.jira.startup.DefaultJiraLauncher.stop(DefaultJiraLauncher.java:190)
at com.atlassian.jira.startup.LauncherContextListener.contextDestroyed(LauncherContextListener.java:115)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5033)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5685)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1591)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1580)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.GroovyCategorySupport$1
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 22 more

2 answers

1 accepted

0 votes
Answer accepted
zhen zhang
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 6, 2015

the reason is the loss of LauncherContextListener class in the WEB-INF/classes, remove the filter configuration in the web.xml resolve this problem.

HuaH
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 10, 2016

could you tell us which filter should be remove please? I had the same error but can not find the one to remove. Tks ! 

0 votes
Adrian Stephen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 5, 2015

seems like a bug :

There is a workaround mentioned in that ticket's comment section.

 

Suggest an answer

Log in or Sign up to answer