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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Starhunter999
, 9 months ago
org/apache/commons/codec/binary/Base64
java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
at com.divrep.DivRep$Base64Writer.escapeAndWrite(DivRep.java:156)
at com.divrep.DivRep$Base64Writer.write(DivRep.java:143)
at java.io.PrintWriter.print(Unknown Source)
at com.divrep.common.DivRepTextBox.render(DivRepTextBox.java:61)
at com.divrep.DivRep.outputUpdatecode(DivRep.java:172)
at com.divrep.DivRep.outputUpdatecode(DivRep.java:180)
at com.divrep.DivRep.outputUpdatecode(DivRep.java:180)
at com.divrep.DivRep.outputUpdatecode(DivRep.java:180)
at com.divrep.DivRep.outputUpdatecode(DivRep.java:180)
at com.divrep.DivRep.doRequest(DivRep.java:257)
at com.divrep.DivRepServlet.doGet(DivRepServlet.java:66)
at com.divrep.DivRepServlet.doPost(DivRepServlet.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.