摘要: HttpClient的使用依赖于Apache commons项目中的两个组件——commons-logging.jar、commons-codec.jar。所以要在Eclipse中添加外部Jar包commons-logging.jar和commons-codec.jar。包括HttpClient.jar已经都在eclipse的plugin里面了,不需要另外下载。网上普遍讲的NoClassDefFoundError出错的原因是ClassPath没设好。 阅读全文
posted @ 2011-06-29 16:06 张朝阳 阅读(545) 评论(0) 推荐(0) 编辑