springmvc集成cxf异常:Error creating bean with name 'org.apache.c

严重: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.jaxws.EndpointImpl--772087570': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: javax.xml.ws.WebServiceException: Could not load Webservice SEI
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:700)....

springmvc集成cxf异常:Error creating bean with name 'org.apache.cxf.jaxws.EndpointImpl--772087570'
当前问题共有如下(3)个解决方案
  • 阿里服务器租用
    阿里服务器租用
    貌似jar包版本不对
  • Mr_Right_TT
    Mr_Right_TT
    问题解决了吗
  • rwsren
    rwsren
    需要注意获取的类,spring使用注解的话默认使用 ‘类名第一个字母小写’。写对了就没问题了。还有:配置文件里:jaxws:endpoint implementor="#wZWebServiceImpl",这里写实现。同时,spring注解也声明一下。@Service("wZWebServiceImpl")public class WZWebServiceImpl implements WZWebService{...}
上一篇:阿里云被DDOS攻击了怎么解决呀?
下一篇:php服务器用什么阿里云服务器