The JRE could not be found.Edit the server and change the JRE location.

之前更改了了一个较低的jdk的版本看了看一个项目的代码,不知所云,然后再改回来,

混乱之中只要启动Tomcat就出现这种错误,还是无法找到JRE,最后如此解决:

在Windows->Preferences->Server->Runtime Environments

选择Tomcat->Edit,在jre中选择相应的jdk版本,完事。

原文地址:https://www.cnblogs.com/phoenixhorse/p/3299232.html