天天看点

关于json报java.lang.ClassNotFoundException: net.sf.ezmorph.Morpher 异常的解决方法

java.lang.ClassNotFoundException: net.sf.ezmorph.Morpher 

Could not initialize class  net.sf.json.util.JSONUtils 

出现以上等异常,可能是使用Json缺少以下几个包中的一个: 

ezmorph-1.0.6.jar 

commons-lang 2.4 

commons-beanutils 1.7.0 

commons-collections 3.2 

commons-logging 1.1.1