llegalAccessError: tried to access method org.springframework.core.io.support.SpringFactoriesLoader.
Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.springframework.core.io.support.SpringFactoriesLoader.loadFactoryNames(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/List; from class org.springframework.boot.SpringApplication
at org.springframework.boot.SpringApplication.getSpringFactoriesInstances(SpringApplication.java:401)
我报这个错误 是第一次用IntelliJ IDEA 打开 eclipse 开发的微服务 后台代码 引起的。 后来重新按照引入eclips项目的操作
后面按照标准步骤做,
走到这一步 ,有XX的 二选一
然后就导入完成了。