java.lang.ClassNotFoundException

tip

This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Exception in log on startup
    via by Unknown author,
  • UI Manager fails to start
    via by Robert Lee,
  • jdbc ClassNotFoundException
    via by James,
  • El stacktrace: 12-Apr-2006 01:49:46 org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 12-Apr-2006 01:49:46 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 984 ms 12-Apr-2006 01:49:46 org.apache.catalina.core.StandardService start INFO: Starting service Tomcat-Standalone 12-Apr-2006 01:49:46 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.15 12-Apr-2006 01:49:46 org.apache.catalina.core.StandardHost start INFO: XML validation disabled log4j:ERROR Could not instantiate class [com.atlassian.confluence.util.PatternLa youtWithStackTrace]. java.lang.ClassNotFoundException: com.atlassian.confluence.util.PatternLayoutWit hStackTrace at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1198) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.apache.log4j.helpers.Loader.loadClass(Loader.java:160) at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Optio nConverter.java:309) at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConve rter.java:112) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigura tor.java:632) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigura tor.java:603) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyC onfigurator.java:500) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato r.java:406) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato r.java:432) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionCon verter.java:460) at org.apache.log4j.LogManager.<clinit>(LogManager.java:113) at org.apache.log4j.Logger.getLogger(Logger.java:85) at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.jav a:229) at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:6 5) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory Impl.java:529) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory Impl.java:235) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370) at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:3 80) at org.apache.catalina.valves.ValveBase.createObjectName(ValveBase.java: 256) at org.apache.catalina.core.StandardPipeline.registerValve(StandardPipel ine.java:296) at org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java :233) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 103) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442 ) at org.apache.catalina.core.StandardService.start(StandardService.java:4 50) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 12-Apr-2006 01:49:48 org.apache.catalina.session.PersistentManagerBase start SEVERE: No Store configured, persistence disabled log4j:ERROR No layout set for the appender named [confluencelog]. 12-Apr-2006 01:49:48 org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart 12-Apr-2006 01:49:48 org.apache.catalina.core.StandardContext start SEVERE: Context [] startup failed due to previous errors 12-Apr-2006 01:49:49 org.apache.catalina.core.ApplicationContext log INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache. webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.bal ancer.rules.RequestParameterRule: Target param name: paramName / Target param va lue: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balanc er.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] 12-Apr-2006 01:49:49 org.apache.catalina.realm.JAASRealm setContainer INFO: Set JAAS app name Standalone 12-Apr-2006 01:49:49 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 12-Apr-2006 01:49:49 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 12-Apr-2006 01:49:49 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 12-Apr-2006 01:49:49 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 12-Apr-2006 01:49:49 org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter Compression Filter java.lang.ClassNotFoundException: compressionFilters.CompressionFilter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1198) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio nFilterConfig.java:209) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica tionFilterConfig.java:304) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFi lterConfig.java:77) at org.apache.catalina.core.StandardContext.filterStart(StandardContext. java:3598) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 168) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73 9) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav a:910) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j ava:873) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474 ) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java :310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442 ) at org.apache.catalina.core.StandardService.start(StandardService.java:4 50) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 12-Apr-2006 01:49:49 org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter Set Character Encoding java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1198) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio nFilterConfig.java:209) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica tionFilterConfig.java:304) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFi lterConfig.java:77) at org.apache.catalina.core.StandardContext.filterStart(StandardContext. java:3598) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 168) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73 9) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav a:910) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j ava:873) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474 ) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java :310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442 ) at org.apache.catalina.core.StandardService.start(StandardService.java:4 50) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700 ) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 12-Apr-2006 01:49:49 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 12-Apr-2006 01:49:49 org.apache.catalina.core.StandardContext start SEVERE: Context [/servlets-examples] startup failed due to previous errors 12-Apr-2006 01:49:49 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() 12-Apr-2006 01:49:49 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() 12-Apr-2006 01:49:49 org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 12-Apr-2006 01:49:50 org.apache.catalina.startup.Catalina start INFO: Server startup in 3187 ms
    via by Guy Fraser [Adaptavist.com],
  • BI Publisher and TomCat JDBC error
    via by empyre,
  • log4j:ERROR Failed to load driver
    via by 843841,
  • AQ - dequeing from exception queue
    via by 509429,
  • Aggregate Issue
    via openxava by balagav
    ,
    • java.lang.ClassNotFoundException: org.openxava.model.impl.HibernatePersistencePr ovider at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.openxava.model.impl.MapFacadeBean.createPersistenceProvider(MapFacadeBean.java:2649) at org.openxava.model.impl.MapFacadeBean.getValues(MapFacadeBean.java:137) at org.openxava.model.MapFacade.getValues(MapFacade.java:539) at org.openxava.actions.SearchByViewKeyAction.execute(SearchByViewKeyAction.java:17) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:271) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:212) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:206) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:368) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:212) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:206) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:368) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:212) at org.openxava.controller.ModuleManager.execute(ModuleManager.java:192)

    Users with the same issue

    treefolktreefolk
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    444 more bugmates