第一次整合,配置应该都好了,因为测试了一个简单的值注入的helloworld 的webservice,现在在试图注入dao的时候总抛出异常。。。用的cxf2.1.3+spring 2.5.5+hibernate 3.2
[code="java"]
jaxws:implementor
/jaxws:implementor
/jaxws:endpoint
[/code]
[code="java"] 1. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserService': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException [/code]
google了n小时。。。也没解决。。。不知道哪位朋友有过类似经验的。。。
[b]问题补充:[/b]
第一次整合,配置应该都好了,因为测试了一个简单的值注入的helloworld 的webservice,现在在试图注入dao的时候总抛出异常。。。用的cxf2.1.3+spring 2.5.5+hibernate 3.2
# <bean id="UserServiceImpl" class="com.ramon.hiking.webservice.UserService"> # <property name="um"> # <ref bean="UserManager"/> # </property> # </bean> # <jaxws:endpoint id="UserService" address="/UserService"> # <jaxws:implementor> # <ref bean="UserServiceImpl"/> # </jaxws:implementor> # </jaxws:endpoint>
1. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'UserService': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException
google了n小时。。。也没解决。。。不知道哪位朋友有过类似经验的。。。
楼下的同学,现在是异常啊。。。感觉不是配置问题呢
[b]问题补充:[/b]
楼下的同学,现在是异常啊。。。感觉不是配置问题呢