天天看點

the specified jre installation does not exist 規定的jre沒有安裝

specified (規定的) jre installation(安裝) does not exist(不存在)

翻譯過來就是:規定的Jre沒有安裝

這個錯誤是Tomcat上發生的,原因是我移動了Tomcat安裝目錄,而在eclipse中的tomcat并沒有同步路徑導緻的!

1- 先同步tomcat的檔案路徑

the specified jre installation does not exist 規定的jre沒有安裝

同步移動後的新路徑

the specified jre installation does not exist 規定的jre沒有安裝

2 安裝tomcat規定的jar檔案

the specified jre installation does not exist 規定的jre沒有安裝

2-進入jre的安裝路徑,檢查路徑是否是tomcat>bin路徑,如果不是那麼全部删除remove

the specified jre installation does not exist 規定的jre沒有安裝

3-删除完成後選擇從外部添加jar檔案,選擇 tomcat下的bin目錄中的所有jar包,點選ok就完成了。

the specified jre installation does not exist 規定的jre沒有安裝