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项目的操作

llegalAccessError: tried to access method org.springframework.core.io.support.SpringFactoriesLoader.

 

llegalAccessError: tried to access method org.springframework.core.io.support.SpringFactoriesLoader.

后面按照标准步骤做,

llegalAccessError: tried to access method org.springframework.core.io.support.SpringFactoriesLoader.

走到这一步 ,有XX的 二选一 

llegalAccessError: tried to access method org.springframework.core.io.support.SpringFactoriesLoader.

 

然后就导入完成了。

相关文章:

  • 2021-04-09
  • 2021-06-05
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
  • 2021-07-29
猜你喜欢
  • 2022-12-23
  • 2021-09-18
  • 2021-08-01
  • 2021-07-09
  • 2022-12-23
  • 2021-05-28
  • 2022-01-27
相关资源
相似解决方案