原文: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