Spring Boot с Devtools Call Soap APIJAVA

Программисты JAVA общаются здесь
Anonymous
Spring Boot с Devtools Call Soap API

Сообщение Anonymous »

Я развертываю проект Spring Boot, используя Devtools (Spring-Boot-Devtools) с помощью SOAP Service.
Я генерирую класс SOAP в /

Код: Выделить всё

src/main/resources/templates/generated
folder, and add this folder as Source Code.
When I call this SOAP service, there is a problem:

java.lang.IllegalArgumentException: ...ClassV11PortType referenced from a method is not visible from class loader

So, I added the Spring-devtools.properties file to /src/main/resources/meta-inf/spring-devtools.properties,,
и добавил эту строку в spring-devtools.properties файл:
restart.exclude.mygeneratedclasses=/*[packageOfGeneratedClass]*.class
< /code>
Тогда я могу вызвать успешную службу SOAP. Мой проект не перезагружается.

Подробнее здесь: https://stackoverflow.com/questions/559 ... l-soap-api

Вернуться в «JAVA»