报错信息如下:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program;提示找不到java_home各jre_home路径,何解?

  

[root@master bin]#vim catalina.sh

添加以下内容:

CATALINA_HOME=/home/luolizhi/apache-tomcat-8.0.35/

 

    3、重启tomcat,敲入http://localhost:8080验证,问题解决。

 

相关文章:

  • 2021-07-01
  • 2022-02-09
  • 2021-04-07
  • 2021-06-23
  • 2021-07-13
  • 2021-11-06
  • 2021-11-18
猜你喜欢
  • 2021-08-03
  • 2021-11-07
  • 2021-12-06
  • 2021-08-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案