Spring配置xml文件

时间:2013-04-03 14:58:06

标签: java spring

我正在配置一个项目,但是spring配置文件会出现错误,如图所示:enter image description here

我的spring配置cxf.xml是

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:jaxws="http://cxf.apache.org/jaxws"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
  http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  http://cxf.apache.org/jaxws
  http://cxf.apache.org/schemas/jaxws.xsd">

        

<jaxws:inInterceptors>
 <bean class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor"/>
 <bean class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
   <constructor-arg>
     <map>
       <entry key="action" value="UsernameToken"/>
       <entry key="passwordType" value="PasswordText"/>
       <entry key="passwordCallbackClass" value="com.nightingale.cxf.servlet.PWCallback"/>
     </map>
   </constructor-arg>
 </bean>
</jaxws:inInterceptors>
<jaxws:properties>
    <entry key="faultStackTraceEnabled" value="true"/>
</jaxws:properties>

0 个答案:

没有答案
相关问题