错误日志

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

在maven引入

<dependency>
   <groupId>commons-codec</groupId>
   <artifactId>commons-codec</artifactId>
   <version>1.12</version>
</dependency>

没起作用,最后下载了一个commons-codec-1.12.jar包拖到了tomcat的lib目录

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

启动成功!

下载地址:http://commons.apache.org/proper/commons-codec/download_codec.cgi

07-13 08:37