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.

  • moskito inspect classnotfound
    via Stack Overflow by Mario
    ,
  • cannot access my database from a servlet
    via Stack Overflow by Tarun
    ,
  • Writing servlet using NuoDB
    via Stack Overflow by pragmus
    ,
  • Connection error to postgresql via servlets
    via Stack Overflow by reaper1
    ,
    • java.lang.ClassNotFoundException: net.anotheria.moskitoplugin.emptypage.EmptyPagePlugin at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)[catalina.jar:7.0.54] at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)[catalina.jar:7.0.54] at java.lang.Class.forName0(Native Method)[na:1.8.0_101] at java.lang.Class.forName(Unknown Source)[na:1.8.0_101] at net.anotheria.moskito.core.plugins.PluginRepository.setup(PluginRepository.java:59)[moskito-core-2.7.5.jar:2.7.5] at net.anotheria.moskito.core.plugins.PluginRepository.access$200(PluginRepository.java:20)[moskito-core-2.7.5.jar:2.7.5] at net.anotheria.moskito.core.plugins.PluginRepository$PluginRepositoryHolder.<init>(PluginRepository.java:157)[moskito-core-2.7.5.jar:2.7.5] at net.anotheria.moskito.core.plugins.PluginRepository.getInstance(PluginRepository.java:43)[moskito-core-2.7.5.jar:2.7.5] at net.anotheria.moskito.core.registry.ProducerRegistryFactory.init(ProducerRegistryFactory.java:66)[moskito-core-2.7.5.jar:2.7.5] at net.anotheria.moskito.core.registry.ProducerRegistryFactory.<init>(ProducerRegistryFactory.java:54)[moskito-core-2.7.5.jar:2.7.5] at net.anotheria.moskito.web.session.SessionCountProducer.<init>(SessionCountProducer.java:40)[moskito-web-2.7.5.jar:2.7.5] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.8.0_101] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)[na:1.8.0_101] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)[na:1.8.0_101] at java.lang.reflect.Constructor.newInstance(Unknown Source)[na:1.8.0_101] at java.lang.Class.newInstance(Unknown Source)[na:1.8.0_101] at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:140)[catalina.jar:7.0.54] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4888)[catalina.jar:7.0.54] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)[catalina.jar:7.0.54] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[catalina.jar:7.0.54] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)[catalina.jar:7.0.54] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)[catalina.jar:7.0.54] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)[catalina.jar:7.0.54] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083)[catalina.jar:7.0.54] at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1880)[catalina.jar:7.0.54] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[na:1.8.0_101] at java.util.concurrent.FutureTask.run(Unknown Source)[na:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.8.0_101] at java.lang.Thread.run(Unknown Source)[na:1.8.0_101]

    Users with the same issue

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