使用FeignClient的时遇到的LinkageError
Handler dispatch failed; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of org/springframework/boot/devtools/restart/classloader/RestartClassLoader) previously initiated loading for a different type with name \"com/xxx/xxx/common/Response\"
错误解析,经多次Google发现 报java.lang.LinkageError:异常的多少jar包冲突,事实也是如此。其中 loader (instance of org/springframework/boot/devtools/restart/classloader/RestartClassLoader) previously ...()中的就是冲突的地方,经Google发现()中的信息与
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
</dependency>
有关,注释掉发现问题解决

浙公网安备 33010602011771号