java.lang.NoClassDefFoundError: net/sourceforge/tess4j/Tesseract1

Stack Overflow | Dall.Y | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to ddd Tess4J to Jersey

    Stack Overflow | 5 months ago | Dall.Y
    java.lang.NoClassDefFoundError: net/sourceforge/tess4j/Tesseract1

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      net/sourceforge/tess4j/Tesseract1

      at com.hexin.b2b.dall.ApplicationConfig.getClasses()
    2. com.hexin.b2b
      ApplicationConfig.getClasses
      1. com.hexin.b2b.dall.ApplicationConfig.getClasses(ApplicationConfig.java:24)
      1 frame
    3. jersey-core-server
      ResourceConfig$RuntimeConfig$3.run
      1. org.glassfish.jersey.server.ResourceConfig$RuntimeConfig$3.run(ResourceConfig.java:1234)
      1 frame
    4. Jersey Core
      Errors.processWithException
      1. org.glassfish.jersey.internal.Errors$2.call(Errors.java:289)
      2. org.glassfish.jersey.internal.Errors$2.call(Errors.java:286)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      5. org.glassfish.jersey.internal.Errors.processWithException(Errors.java:286)
      5 frames
    5. jersey-core-server
      ApplicationHandler.<init>
      1. org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.registerComponentsOf(ResourceConfig.java:1216)
      2. org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.<init>(ResourceConfig.java:1190)
      3. org.glassfish.jersey.server.ResourceConfig$RuntimeConfig.<init>(ResourceConfig.java:1178)
      4. org.glassfish.jersey.server.ResourceConfig.createRuntimeConfig(ResourceConfig.java:1174)
      5. org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:345)
      5 frames
    6. jersey-container-servlet-core
      ServletContainer.init
      1. org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392)
      2. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177)
      3. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369)
      3 frames
    7. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:158)
      1 frame
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238)
      2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151)
      3. org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:828)
      4. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      6. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
      8. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      9. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
      10. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      11. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
      11 frames
    9. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
      4 frames
    10. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      2 frames
    11. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame