您的位置:首页 > 其它

webservice cxf客户端调用问题

2010-05-12 13:08 357 查看
开发IDE是eclipse3.4.2

spring+cxf

服务器启动没有问题;客户端调用出现问题。

抛出的异常为

警告: Failed to create application context.

org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined
in class path resource [META-INF/cxf/cxf.xml]: Instantiation of bean
failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]:
Constructor threw exception;

解决方法:

修改项目的.classpath文件

找到

<classpathentry
kind="con"
path="

melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER"/>

修改为

<classpathentry kind="con" path="com.genuitec.eclipse.j2eedt.core.J2EE14_CONTAINER
"/>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: