Posted on 2013-01-09 10:10
小胡子 阅读(813)
评论(0) 编辑 收藏 所属分类:
Spring
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ResourceService': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lang.IllegalArgumentException: An operation with name [####] already exists in this service
可能是因为WebService 存在重载的方法,因此初始化时Spring无法找到对应的方法
使用的插件为:
javax.jws-1.0.0_JDK1.5_1.0.0.jar
cxf-bundle-2.5.2.jar
spring-webmvc-3.1.1.RELEASE.jar