2008-07-25

JSON起步

关键字: 配置
今天开始用JSON
但是发现只下载了json-lib的jar还不行,在eclipse中运行时会出现如下问题:
java.lang.NoClassDefFoundError:..................
原因是JSON-LIB还需要其他的依赖,依赖库如下:


EZMorph
http://ezmorph.sourceforge.net
Commons Collections
http://jakarta.apache.org/commons/collections/
Commons Lang
http://jakarta.apache.org/commons/lang/
Commons BeanUtils
http://commons.apache.org/beanutils/
The Logging Component
http://commons.apache.org/logging/

下载后导入即可运行正确
评论
发表评论

您还没有登录,请登录后发表评论