由于更改jdk或项目迁移后的jdk版本不匹配,出现“The specified JRE installation does not exist”错误。

排错1——tomcat问题

首先查看apache tomcat是否能正常启动,在cmd中启动tomcat,我的能正常启动,说明不是tomcat的问题

排除2——eclipse配置问题

找到:Eclipse→Windows→Server→Runtime Environment,如下图,选中服务器,点击"edit"The specified JRE installation does not exist找到图中的"Installed JREs",导入准备好的jre。
The specified JRE installation does not exist
再次运行项目就没有这样的问题了,如果不行就重启一下Eclipse,如果有其他问题,可以发言交流喔!

相关文章:

  • 2021-12-11
  • 2021-08-11
  • 2021-06-09
  • 2022-01-11
  • 2021-08-17
  • 2022-01-08
猜你喜欢
  • 2021-06-15
  • 2021-07-11
  • 2021-11-29
  • 2021-07-06
  • 2021-05-23
  • 2021-05-22
相关资源
相似解决方案