原因:httpclient的jar包的版本问题,仔细查找相关的jar。发现多了两个apache-httpcomponents-httpclient.jar,commons-httpclient-3.1.jar,删除就好了。