1. Explore
  2. »
  3. Tomcat Catalina

Tomcat Catalina errors

Tomcat Servlet Engine Core Classes and Standard implementations

http://tomcat.apache.org/
Solution coverage:
Summary coverage:

Top patterns

  1. Tomcat cannot load a class

    Tomcat classloader is strange - check out this great article at MuleSoft: Understanding The Tomcat Classpath - Common Problems And How To Fix Them

  2. Container cannot start due to unwanted jar in WEB-INF/lib folder

    You have packaged servlet-api.jar file in your build, this is the source of the problem. To solve this issue check this answer

  3. StandardService.startInternal() has thrown a LifecycleException
    No solution
Error patternsPackagesClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Tomcat cannot load a class

java.lang.ClassNotFoundException
org.apache.catalina.loader.WebappClassLoader.loadClass
3773Web pages
1Solution
ClassNotFoundExceptionWebappClassLoader.loadClass3773

Container cannot start due to unwanted jar in WEB-INF/lib folder

org.apache.catalina.LifecycleException
org.apache.catalina.core.ContainerBase.startInternal
747Web pages
1Solution
LifecycleExceptionContainerBase.startInternal747

StandardService.startInternal() has thrown a LifecycleException

org.apache.catalina.LifecycleException
4 frames hidden
org.apache.catalina.core.StandardService.startInternal
674Web pages
LifecycleExceptionStandardService.startInternal674

LifecycleBase.start() has thrown a LifecycleException

org.apache.catalina.LifecycleException
5 frames hidden
org.apache.catalina.util.LifecycleBase.start
672Web pages
LifecycleExceptionLifecycleBase.start672

Servlet Context unable to find the stated resource

javax.naming.NameNotFoundException
org.apache.naming.NamingContext.lookup
445Web pages
1Solution
NameNotFoundExceptionNamingContext.lookup445

DefaultInstanceManager.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.apache.catalina.core.DefaultInstanceManager.loadClass
389Web pages
ClassNotFoundExceptionDefaultInstanceManager.loadClass389

DefaultInstanceManager.loadClassMaybePrivileged() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged
385Web pages
ClassNotFoundExceptionDefaultInstanceManager.loadClassMaybePrivileged385

DefaultInstanceManager.newInstance() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
4 frames hidden
org.apache.catalina.core.DefaultInstanceManager.newInstance
382Web pages
ClassNotFoundExceptionDefaultInstanceManager.newInstance382

Tomcat server was not shutdown properly

java.lang.IllegalStateException
org.apache.catalina.loader.WebappClassLoader.loadClass
377Web pages
1Solution
IllegalStateExceptionWebappClassLoader.loadClass377

WebappClassLoader.loadClass() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
org.apache.catalina.loader.WebappClassLoader.loadClass
367Web pages
IllegalStateExceptionWebappClassLoader.loadClass367

ApplicationFilterChain.internalDoFilter() has thrown a JasperException

org.apache.jasper.JasperException
4 frames hidden
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
342Web pages
JasperExceptionApplicationFilterChain.internalDoFilter342

Servlet initialization failed

javax.servlet.ServletException
org.apache.catalina.core.StandardWrapper.loadServlet
333Web pages
1Solution
ServletExceptionStandardWrapper.loadServlet333

ApplicationFilterChain.doFilter() has thrown a JasperException

org.apache.jasper.JasperException
5 frames hidden
org.apache.catalina.core.ApplicationFilterChain.doFilter
321Web pages
JasperExceptionApplicationFilterChain.doFilter321

Calling getOutputStream() and getWriter() on the same response object

java.lang.IllegalStateException
org.apache.catalina.connector.Response.getWriter
279Web pages
IllegalStateExceptionResponse.getWriter279

StandardWrapperValve.invoke() has thrown a JasperException

org.apache.jasper.JasperException
6 frames hidden
org.apache.catalina.core.StandardWrapperValve.invoke
274Web pages
JasperExceptionStandardWrapperValve.invoke274

ContainerBase.invoke() has thrown a JasperException

org.apache.jasper.JasperException
9 frames hidden
org.apache.catalina.core.ContainerBase.invoke
267Web pages
JasperExceptionContainerBase.invoke267

ResponseFacade.getWriter() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
org.apache.catalina.connector.ResponseFacade.getWriter
266Web pages
IllegalStateExceptionResponseFacade.getWriter266

StandardWrapper.loadServlet() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.apache.catalina.core.StandardWrapper.loadServlet
246Web pages
ClassNotFoundExceptionStandardWrapper.loadServlet246

HostConfig.deployWAR() has thrown an IllegalStateException

java.lang.IllegalStateException
3 frames hidden
org.apache.catalina.startup.HostConfig.deployWAR
238Web pages
IllegalStateExceptionHostConfig.deployWAR238

StandardContext.listenerStart() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.apache.catalina.core.StandardContext.listenerStart
233Web pages
ClassNotFoundExceptionStandardContext.listenerStart233

StandardContext.start() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
org.apache.catalina.core.StandardContext.start
227Web pages
ClassNotFoundExceptionStandardContext.start227

LifecycleBase.start() has thrown a LifecycleException

org.apache.catalina.LifecycleException
3 frames hidden
org.apache.catalina.util.LifecycleBase.start
218Web pages
LifecycleExceptionLifecycleBase.start218

StandardContext.resourcesStart() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
org.apache.catalina.core.StandardContext.resourcesStart
213Web pages
IllegalArgumentExceptionStandardContext.resourcesStart213

ContainerBase.invoke() has thrown a JasperException

org.apache.jasper.JasperException
26 frames hidden
org.apache.catalina.core.ContainerBase.invoke
202Web pages
JasperExceptionContainerBase.invoke202

Servlet filter exception handling

javax.servlet.ServletException
1 frames hidden
org.apache.catalina.core.ApplicationFilterChain.doFilter
176Web pages
1Solution
ServletExceptionApplicationFilterChain.doFilter176

StandardContext.listenerStart() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
org.apache.catalina.core.StandardContext.listenerStart
176Web pages
ClassNotFoundExceptionStandardContext.listenerStart176

Bug in JSF Mojarra

java.lang.IllegalStateException
org.apache.catalina.connector.Request.doGetSession
171Web pages
1Solution
IllegalStateExceptionRequest.doGetSession171

StandardWrapper.load() has thrown a ServletException

javax.servlet.ServletException
1 frames hidden
org.apache.catalina.core.StandardWrapper.load
165Web pages
ServletExceptionStandardWrapper.load165

Request.getSession() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
org.apache.catalina.connector.Request.getSession
162Web pages
IllegalStateExceptionRequest.getSession162

StandardContext.loadOnStartup() has thrown a ServletException

javax.servlet.ServletException
2 frames hidden
org.apache.catalina.core.StandardContext.loadOnStartup
161Web pages
ServletExceptionStandardContext.loadOnStartup161

ApplicationFilterChain.doFilter() has thrown a JasperException

org.apache.jasper.JasperException
12 frames hidden
org.apache.catalina.core.ApplicationFilterChain.doFilter
160Web pages
JasperExceptionApplicationFilterChain.doFilter160

StandardWrapper.allocate() has thrown a ServletException

javax.servlet.ServletException
1 frames hidden
org.apache.catalina.core.StandardWrapper.allocate
160Web pages
ServletExceptionStandardWrapper.allocate160

StandardContext.start() has thrown a ServletException

javax.servlet.ServletException
3 frames hidden
org.apache.catalina.core.StandardContext.start
154Web pages
ServletExceptionStandardContext.start154

RequestFacade.getSession() has thrown an IllegalStateException

java.lang.IllegalStateException
2 frames hidden
org.apache.catalina.connector.RequestFacade.getSession
153Web pages
IllegalStateExceptionRequestFacade.getSession153

Servlet trying to execute further code after request has already been dispatched by RequestDispatcher

java.lang.IllegalStateException
org.apache.catalina.core.ApplicationDispatcher.doForward
149Web pages
IllegalStateExceptionApplicationDispatcher.doForward149

StandardWrapper.loadServlet() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
5 frames hidden
org.apache.catalina.core.StandardWrapper.loadServlet
149Web pages
ClassNotFoundExceptionStandardWrapper.loadServlet149

StandardContext.listenerStop() has thrown an IllegalStateException

java.lang.IllegalStateException
6 frames hidden
org.apache.catalina.core.StandardContext.listenerStop
147Web pages
IllegalStateExceptionStandardContext.listenerStop147

StandardContext.start() has thrown a LifecycleException

org.apache.catalina.LifecycleException
3 frames hidden
org.apache.catalina.core.StandardContext.start
146Web pages
LifecycleExceptionStandardContext.start146

SelectorContext.lookup() has thrown a NameNotFoundException

javax.naming.NameNotFoundException
2 frames hidden
org.apache.naming.SelectorContext.lookup
144Web pages
NameNotFoundExceptionSelectorContext.lookup144

ApplicationDispatcher.forward() has thrown an IllegalStateException

java.lang.IllegalStateException
1 frames hidden
org.apache.catalina.core.ApplicationDispatcher.forward
144Web pages
IllegalStateExceptionApplicationDispatcher.forward144

Bootstrap.start() has thrown a NullPointerException

java.lang.NullPointerException
15 frames hidden
org.apache.catalina.startup.Bootstrap.start
144Web pages
NullPointerExceptionBootstrap.start144

ContainerBase.addChildInternal() has thrown a LifecycleException

org.apache.catalina.LifecycleException
5 frames hidden
org.apache.catalina.core.ContainerBase.addChildInternal
144Web pages
LifecycleExceptionContainerBase.addChildInternal144

Bootstrap.main() has thrown a NullPointerException

java.lang.NullPointerException
16 frames hidden
org.apache.catalina.startup.Bootstrap.main
143Web pages
NullPointerExceptionBootstrap.main143

ContainerBase.addChild() has thrown a LifecycleException

org.apache.catalina.LifecycleException
6 frames hidden
org.apache.catalina.core.ContainerBase.addChild
142Web pages
LifecycleExceptionContainerBase.addChild142

DefaultInstanceManager.loadClass() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
2 frames hidden
org.apache.catalina.core.DefaultInstanceManager.loadClass
141Web pages
ClassNotFoundExceptionDefaultInstanceManager.loadClass141

StandardHost.addChild() has thrown a LifecycleException

org.apache.catalina.LifecycleException
7 frames hidden
org.apache.catalina.core.StandardHost.addChild
141Web pages
LifecycleExceptionStandardHost.addChild141

HostConfig.deployDescriptor() has thrown an IllegalStateException

java.lang.IllegalStateException
3 frames hidden
org.apache.catalina.startup.HostConfig.deployDescriptor
138Web pages
IllegalStateExceptionHostConfig.deployDescriptor138

This web application instance has been stopped already

java.lang.IllegalStateException
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading
137Web pages
IllegalStateExceptionWebappClassLoaderBase.checkStateForResourceLoading137

DefaultInstanceManager.loadClassMaybePrivileged() has thrown a ClassNotFoundException

java.lang.ClassNotFoundException
3 frames hidden
org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged
137Web pages
ClassNotFoundExceptionDefaultInstanceManager.loadClassMaybePrivileged137

StandardContext.listenerStop() has thrown an IllegalStateException

java.lang.IllegalStateException
5 frames hidden
org.apache.catalina.core.StandardContext.listenerStop
136Web pages
IllegalStateExceptionStandardContext.listenerStop136
Nothing to list here.
Nothing to list here.
Nothing to list here.
Nothing to list here.