1 一次计算机重新设置域名后,原本能正常启动的spring-boot 无法启动
所有的一切都正常,就是启动不了,代码没做大修改。
报这个错误
Exception in thread "main" java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationAwareOrderComparator.sort(Ljava/util/List;)V
at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:394)
at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:383)
at org.springframework.boot.SpringApplication.initialize(SpringApplication.java:249)
at org.springframework.boot.SpringApplication.<init>(SpringApplication.java:225)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
at com.founder.fwpt.FwptApiStarter.main(FwptApiStarter.java:18)
2 解决办法: 所有的依赖全部删除 ,重新 update