В весеннем файле applicationConfig.xml , для интеграции JAX-WS нужны определенные схемы.Недавно я успешно использовал эти объявления:
[Я должен удалить все URL (кроме одного), потому что это мой первый вопрос]
Файлначинается с этих объявлений:
<beans xmlns="http www.springframework.org/schema/beans"
xmlns:xsi="http www.w3.org/2001/XMLSchema-instance" xmlns:aop="http www.springframework.org/schema/aop"
xmlns:tx="http www.springframework.org/schema/tx" xmlns:context="http www.springframework.org/schema/context"
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.xsd
http www.springframework.org/schema/aop http www.springframework.org/schema/aop/spring-aop.xsd
http www.springframework.org/schema/tx http www.springframework.org/schema/tx/spring-tx.xsd
http www.springframework.org/schema/context http www.springframework.org/schema/context/spring-context.xsd
http jax-ws.dev.java.net/spring/core https jax-ws.dev.java.net/spring/core.xsd
http jax-ws.dev.java.net/spring/servlet https jax-ws.dev.java.net/spring/servlet.xsd">
(...)
<ws:service id="myService" bean="#myWS" />
<wss:binding url="/services/myws" service="#myService" />
Теперь выполняется миграция для веб-сайта jax-ws.dev.java.сеть.Эти файлы не найдены, и у меня есть ошибки в Tomcat и Eclipse:
org.xml.sax.SAXParseException: schema_reference.4: Не удалось прочитать документ схемы 'https://jax -ws.dev.java.net / spring / core.xsd ', потому что 1) не удалось найти документ;2) документ не может быть прочитан;3) корневого элемента документа нет.
Есть решение или что-то, чтобы предотвратить эту ошибку?
Спасибо