No bean named 'cxf' is defined

1、错误描述

 严重:Exception starting filter CXFServlet 

      org.springframework.beans.factory.NoSuchBeanDefinitionException:No bean named 'cxf' is defined


2、错误原因

   由于cxfBean没有被注入,导致报错


3、解决办法

   在applicationContext-cxf.xml中注入http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"

你可能感兴趣的:(Java,Spring)