Java – unable to find the spring namespace for jax-ws

I want to integrate Jax - WS into my spring project Find this link:

I adopted it and integrated it into my ApplicationContext 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:context="http://www.springframework.org/schema/context" 
   xmlns:task="http://www.springframework.org/schema/task"
   xmlns:ws="http://jax-ws.dev.java.net/spring/core" 
   xmlns:wss="http://jax-ws.dev.java.net/spring/servlet" 
   xsi:schemaLocation="http://www.springframework.org/schema/beans 
           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context-3.0.xsd
           http://www.springframework.org/schema/task
           http://www.springframework.org/schema/task/spring-task-3.0.xsd
           http://jax-ws.dev.java.net/spring/core
           http://jax-ws.dev.java.net/spring/core.xsd
           http://jax-ws.dev.java.net/spring/servlet
           http://jax-ws.dev.java.net/spring/servlet.xsd">

    <context:annotation-config />
    <context:component-scan base-package="cloud" />
    <task:annotation-driven/>

    <wss:binding url="/notification" service="#notificationService"></wss:binding>  
    <ws:service id="notificationService" bean="#notificationImpl"></ws:service> 

    <bean id="notificationImpl" class="cloud.balancer.Notification" /> 
</beans>

But every time I start tomcat, I will encounter the following exceptions:

Eclipse does not report any errors about namespaces I found that Google had some similar problems, but did not fix my mistakes

Thanks for your help!

Solution

The same question: link, you need to come from- http://download.java.net/maven/2/org/jvnet/jax-ws-commons/spring/jaxws-spring/ Jaxws spring jar

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>