Error opening zip file or JAR manifest missing的解決方法


錯誤描述:

MyEclipse中啟動Tomcat(debug)的時候就出現Error starting Tomcat : 

A configuration error occured during startup. Please verify the preference field with the prompt: Error opening zip file or JAR manifest missing:D:\Program Files\...這個錯誤,如下圖:


解決方法:

打開MyEclipse,點擊Window->Preferences->MyEclipse Enterprice Workbench->Servers->Tomcat->選擇你的Tomcat(比如Tomcat 7.x)

然后點左邊的三角形->點擊JDK->Optional Java VM arguments如下圖所示:


檢查里面的配置是否含有引入jar包,如果有確認引入路徑中是否有空格,如果有請更改jar所在路徑目錄名,確保路徑中不含空格和中文。

PS:(其他類似Error opening zip file or JAR manifest missing的錯誤解決思路差不多,首先排查路徑下是否包含所需jar文件,然后再檢查路徑是否包含空格和中文)。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM