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
"/>
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
"/>
相关文章推荐
- webservice接口常见问题1:客户端使用SOAP方式调用CXF服务时异常
- CXF动态客户端调用webservice实例 遇到的问题
- 客户端(C#)调用CXF搭建的webservice的出现一些问题记录
- 客户端axis调用cxf服务端webservice接口问题
- cxf客户端调用webservice,出现问题 Found element arg0 but could not find matching RPC/Literal part
- webservice cxf客户端调用问题
- axis 客户端调用CXF的webservice 解决参数传递不过去的问题
- cxf调用.net webservice 接口遇到的问题(尚未解决)
- CXF动态客户端调用webservice实例
- Android客户端调用服务器端发布的WebService(CXF)
- webservice CXF 客户端调用报错
- CXF开发webservice需要的最少jar包,CXF发布和调用客户端代码
- CXF动态客户端调用JDK自带Webservice安全校验
- CXF客户端调用https Webservice
- spring boot整合cxf发布webservice服务和cxf客户端调用
- CXF获取客户端IP(解决WebServiceContext为null问题)
- 客户端利用CXF中的JaxWsProxyFactoryBean 对webservice地址进行调用
- 解决CXF获取客户端IP(WebServiceContext为null问题)
- webservice客户端调用方式(cxf)
- 关于java中Axis2客户端调用C#webservice服务端包含Cookie问题