无法找到XML架构命名空间的Spring NamespaceHandler [http://cxf.apache.org/jaxws]

Kas*_*sun 3 spring web-services cxf

我需要将Spring与CXF 3.0版集成.CXF库位于类路径中.我在尝试访问Web服务时收到错误"无法找到用于XML架构命名空间的Spring NamespaceHandler [http://cxf.apache.org/jaxws]".这可能是错的?Schema url是否有机会改变?

<?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.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
Run Code Online (Sandbox Code Playgroud)

Wil*_*ang 5

你把cxf-rt-frontend-jaxws.jar放到了类路径中了吗?可以在那里找到脱机xml架构.