Spring Boot 警告:An illegal reflective access operation has occurred

现象

Spring Boot项目升级到JDK 11,运行时发现警告如下:
Spring Boot 警告:An illegal reflective access operation has occurred

解决方案

增加 JVM 启动参数:

--illegal-access=deny

Spring Boot 警告:An illegal reflective access operation has occurred

保存,重新运行,解决
Spring Boot 警告:An illegal reflective access operation has occurred

相关文章:

  • 2021-07-23
  • 2021-09-07
  • 2021-09-19
  • 2021-05-04
  • 2022-12-23
  • 2022-12-23
  • 2021-04-02
  • 2022-12-23
猜你喜欢
  • 2021-10-10
  • 2022-12-23
  • 2021-08-05
  • 2021-10-06
相关资源
相似解决方案