在更换jdk时,eclipse中tomcat会报The JRE could not be found.Edit the server and change the JRE location,导致无法启动。非常奇怪,我已经更改了java->run time中jdk版本,但是好像不起作用。
解决方法如下:eclipse菜单 windows->prefrences->Server->Runtime Environment 找到你的tomcat,编辑,选取合适的jre,问题即可解决。
在更换jdk时,eclipse中tomcat会报The JRE could not be found.Edit the server and change the JRE location,导致无法启动。非常奇怪,我已经更改了java->run time中jdk版本,但是好像不起作用。
解决方法如下:eclipse菜单 windows->prefrences->Server->Runtime Environment 找到你的tomcat,编辑,选取合适的jre,问题即可解决。