java.lang.NoSuchMethodError: org.apache.catalina.Context.addLifecycleListener(Lorg/apache/catalina/LifecycleListener;)V

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Sarronya
, 1 year ago
org.apache.catalina.Context.addLifecycleListener(Lorg/apache/catalina/LifecycleListener;)V
java.lang.NoSuchMethodError: org.apache.catalina.Context.addLifecycleListener(Lorg/apache/catalina/LifecycleListener;)V
at org.apache.catalina.core.ThreadLocalLeakPreventionListener.registerContextListener(ThreadLocalLeakPreventionListener.java:153)
at org.apache.catalina.core.ThreadLocalLeakPreventionListener.registerListenersForHost(ThreadLocalLeakPreventionListener.java:148)
at org.apache.catalina.core.ThreadLocalLeakPreventionListener.registerListenersForEngine(ThreadLocalLeakPreventionListener.java:141)
at org.apache.catalina.core.ThreadLocalLeakPreventionListener.registerListenersForServer(ThreadLocalLeakPreventionListener.java:132)
at org.apache.catalina.core.ThreadLocalLeakPreventionListener.lifecycleEvent(ThreadLocalLeakPreventionListener.java:84)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:303)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.