java.lang.ClassNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • On the fly class loading with jars
    via Stack Overflow by endarkened
    ,
  • Running a sub-project main class
    via Stack Overflow by joslinm
    ,
  • GitHub comment 100#157918362
    via GitHub by Chnkr
    ,
    • java.lang.ClassNotFoundException: aaa.bbb.ccc.ddd.freemarkerjob.dynamicjava.DoStuff at java.lang.ClassLoader.findClass(ClassLoader.java:531) at aaa.bbb.ccc.ddd.freemarkerjob.dynamicjava.DynamicClassLoader.findClass(DynamicClassLoader.java:25) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.lang.ClassLoader.defineClass(ClassLoader.java:643) at aaa.bbb.ccc.ddd.freemarkerjob.dynamicjava.DynamicClassLoader.findClass(DynamicClassLoader.java:33) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at aaa.bbb.ccc.ddd.freemarkerjob.dynamicjava.InMemoryJavaCompiler.compile(InMemoryJavaCompiler.java:36) at aaa.bbb.ccc.ddd.freemarkerjob.TestCompile.startExecute(TestCompile.java:36) at aaa.bbb.ccc.ddd.freemarkerjob.xxxJobPeeper.runJob(xxxJobPeeper.java:47) at aaa.bbb.ccc.ddd.freemarkerjob.xxxJobPeeper.doPost(xxxJobPeeper.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Handemelindo
    3 times, last one,
    poroszd
    1 times, last one,
    rp
    1 times, last one,
    Benj-AD
    2 times, last one,
    mellson
    1 times, last one,
    17 more bugmates