Я генерирую класс SOAP в /
Код: Выделить всё
src/main/resources/templates/generatedWhen 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