今天改了一下jdk版本,发现tomcat启动不了了,报错误:
The JRE could not be found. Edit the server and change the JRE location.
不知道啥情况,在网上找到了答案,自己做一下笔记,加深一下印象
解决办法:
修改tomcat的配置,tomcat里边也有jre,需要把这个也改了:
Eclipse -> windows -> prefreances -> server -> runtime Environment ->
Tomcat8(配置的服务器中间件名称) -> edit -> 手动修改Jre -> finish
就可以了
tomcat报错The JRE could not be found. Edit the server and change the JRE location.
最新推荐文章于 2021-03-30 15:48:06 发布