java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64

GitHub | Starhunter999 | 3 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

    dsBudget 2.0.25 issue: Internal Server Error

    GitHub | 3 months ago | Starhunter999
    java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/commons/codec/binary/Base64

      at com.divrep.DivRep$Base64Writer.escapeAndWrite()
    2. com.divrep
      DivRep$Base64Writer.write
      1. com.divrep.DivRep$Base64Writer.escapeAndWrite(DivRep.java:156)
      2. com.divrep.DivRep$Base64Writer.write(DivRep.java:143)
      2 frames
    3. Java RT
      PrintWriter.print
      1. java.io.PrintWriter.print(Unknown Source)
      1 frame
    4. com.divrep.common
      DivRepTextBox.render
      1. com.divrep.common.DivRepTextBox.render(DivRepTextBox.java:61)
      1 frame
    5. com.divrep
      DivRepServlet.doPost
      1. com.divrep.DivRep.outputUpdatecode(DivRep.java:172)
      2. com.divrep.DivRep.outputUpdatecode(DivRep.java:180)
      3. com.divrep.DivRep.outputUpdatecode(DivRep.java:180)
      4. com.divrep.DivRep.outputUpdatecode(DivRep.java:180)
      5. com.divrep.DivRep.outputUpdatecode(DivRep.java:180)
      6. com.divrep.DivRep.doRequest(DivRep.java:257)
      7. com.divrep.DivRepServlet.doGet(DivRepServlet.java:66)
      8. com.divrep.DivRepServlet.doPost(DivRepServlet.java:78)
      8 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      2 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      8 frames
    8. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    9. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame