java cxf webservice集成 报错

org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'cxf... org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxf' defined in class path resource [META-INF/cxf/cxf.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/http/pool/ConnPoolControl

httpasyncclient-4.0-beta3.jar 加了也没用

SPRING 配置 :

<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

<jaxws:endpoint id="ISayHelloService"
implementor="cn.hicard.interfaces.service.impl.SayHelloServiceImpl" address="/sayHi" />
展开
 我来答
talentwei8899
2013-04-26 · TA获得超过768个赞
知道小有建树答主
回答量:669
采纳率:0%
帮助的人:386万
展开全部
不太清楚你怎么会用到了这个ConnPoolControl这个类。

给你参考下官方要求的jar包吧。

The following jars are required for all CXF usage:
- cxf.jar
- commons-logging.jar
- geronimo-activation.jar (Or the Sun equivalent) [6]
- geronimo-annotation.jar (Or the Sun equivalent) [6]
- geronimo-javamail.jar (Or the Sun equivalent) [6]
(MAY be able to remove javamail if you don't use any MTOM/SAAJ type things)
- geronimo-stax-api.jar (Or the Sun equivalent) [6]
- neethi.jar
- jaxb-api.jar [6]
- jaxb-impl.jar (this is a [6] for normal runtime, but is required for
tooling and the dynamic clients)
- XmlSchema.jar
- woodstox-core-asl.jar [6] or another StAX implementation
- stax2-api-3.0.1.jar [6] for woodstox above
- wsdl4j.jar
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式