更新时间:2022-02-04 15:34:20
您可以尝试包括负责将这些类加载到重启类加载器中的JAR ,而不是排除生成的文件(在spring-devtools中使用) ).
Instead of excluding generated files, you can try to include JAR responsible for loading these classes into restart classloader (used in spring-devtools).
对于依赖项com.sun.xml.ws:jaxws-rt:2.3.2-1
,像这样更新/src/main/resources/META-INF/spring-devtools.properties :
For dependency com.sun.xml.ws:jaxws-rt:2.3.2-1
, update /src/main/resources/META-INF/spring-devtools.properties like this:
restart.include.jax=/jaxws-rt.*\.jar
Github问题参考: Devtools不能与jaxws- ri#19379
Github issue reference: Devtools cannot be use with jaxws-ri #19379