日期:2014-05-17  浏览次数:20968 次

java.lang.ClassNotFoundException: org.apache.commons.codec.DecoderException 异常
java.lang.ClassNotFoundException: org.apache.commons.codec.DecoderException
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at org.apache.commons.httpclient.HttpMethodBase.<init>(Unknown Source)
at org.apache.commons.httpclient.methods.ExpectContinueMethod.<init>(Unknown Source)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.<init>(Unknown Source)
at org.apache.commons.httpclient.methods.PostMethod.<init>(Unknown Source)
at org.becit.process.SMSHttpClient.getPostMethod(SMSHttpClient.java:132)
at org.becit.process.SMSHttpClient.sendSMS(SMSHttpClient.java:39)
at org.compiere.util.EMail.sendHtmlEmailWith73(EMail.java:114)
at org.compiere.model.MCRMLead.afterSave(MCRMLead.java:158)
at org.compiere.model.PO.saveFinish(PO.java:2055)
at org.compiere.model.PO.saveNew(PO.java:2611)
at org.compiere.model.PO.save(PO.java:1977)
at org.compiere.model.MUser.createLead(MUser.java:1229)

       引用了common-codec-1.3.jar可是还是报错,为啥啊?


------解决方案--------------------
这两个包commons-pool.jar和commons-dbcp-1.2.1.jar需要引入到工程中
------解决方案--------------------
去下载:http://apache.etoak.com//commons/codec/binaries/commons-codec-1.4-bin.zip
------解决方案--------------------
缺少jar包