原文:linux下启动tomcat出现“This file is needed to run this program ”

使用sh startup.sh启动tomcat 出现This file is needed to run this program 原因.sh文件都不是可执行文件,于是找到命令: chmod x .sh chmod x .sh再次执行 sh catalina.sh通过,然后用sh startup.sh成功启动 ...

2016-09-22 13:44 0 10934 推荐指数:

查看详情

Tomcat启动报错:This file is needed to run this program

Tomcat版本为 8.5.29。 1.情景 kill调用tomcat进程后,重启tomcat报如下错误: 2.解决方法 编辑 catalina.sh,发现前两行多了如下内容: 于是注释掉这两行,重启tomcat成功。至于为什么多了这两行,不晓得原因。怎么发现 ...

Fri Jun 15 06:20:00 CST 2018 0 4732
Tomcat问题:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined ,At least one of these environment variable is needed to run

一眼就能看出来是jdk的环境有问题,但是用了这么久的jdk一直都配置的好好的,怎么一到Tomcat上就这么矫情了。 最后查解决方案,原来是我的jdk从官网直接下载的,虽然我修改了java_home,但不太智能的tomcat仍然没有自动识别出java_home路径。 linux解决方法 ...

Sun Apr 07 00:33:00 CST 2019 0 559
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM