解決java web專案匯入後出現的有關問題 -cannot be read or is not a valid ZIP file
解決java web專案匯入後出現的問題 —cannot be read or is not a valid ZIP file
今天匯入以前的2個web專案後會出現以下三個錯誤:
1. Archive for required library: ‘WebContent/WEB-INF/lib/readme.txt’ in project ‘xxxxxxxxx’ cannot be read or is not a valid ZIP file
2. The project cannot be built until build path errors are resolved
3. Target runtime Apache Tomcat v6.0 is not defined.
這三個問題都很好解決,方法如下:
1. 用記事本開啟專案根目錄的.classpath檔案,找到“”這一行,刪掉
2. 第一個問題解決後,此問題也會消失
3. 開啟專案根目錄下.settings資料夾中的ormore.xml檔案,將“
相關推薦
解決java web專案匯入後出現的有關問題 -cannot be read or is not a valid ZIP file
解決java web專案匯入後出現的問題 —cannot be read or is not a valid ZIP file 今天匯入以前的2個web專案後會出現以下三個錯誤: 1. Archive for required library: ‘W
解決使用maven的java web項目導入後出現的有關問題 -cannot be read or is not a valid ZIP file
valid 鏡像 項目 bsp 阿裏 可能 錯誤 mini java 錯誤問題:雖然查找repository目錄下是有jar包,但是jar包是有問題的(可能是下載不完整),所以更改鏡像地址到國內。 解決方案: 1)刪除提示錯誤路徑下的所有jar包(C:
Eclipse Android專案 為控制元件添加了Id,但是在Java程式碼中提示xxx cannot be resolved or is not a field
在Android開發過程中,常需要在佈局檔案中為控制元件新增Id,以便在Java程式碼中找到這個控制元件。 但在使用Eclipse進行開發的過程中,常會出現明明已經在Layout XML檔案中為元件添
報出現“"cannot be resolved or is not a field",
出現“"cannot be resolved or is not a field",是因為當前java類的匯入不是當前專案的R檔案 ,而是匯入了Android.R檔案。 解決:找到對應報錯誤的類,刪除java程式碼中的”import Android.R“(在類匯入部分)。
Android中cannot be resolved or is not a field錯誤的解決辦法
以下問題可以參考: 1.R cannot be resolved or is not a field 2.id cannot be resolved or is not a field 在寫第一程式的時候,遇到了這個錯誤,我在引用一個變數時,ListView myList
Archive for required library: ‘WebContent/WEB-INF/lib/xxx.jar cannot be read or is not Zip file
今天匯入一個專案到eclipse,出現感嘆號,而且報1. Archive for required library: ‘WebContent/WEB-INF/lib/xxxxx.jar cannot be read or is not a valid ZI
Eclipse的java web專案匯入IntelliJ IDEA步驟,簡單有效
大家感覺IntelliJ IDEA怎麼樣,是不是功能十分強大特別是外掛和無處不在的提示功能,被稱為最好有的java程式設計軟體,我們一起可以都使用eclipse寫自己的專案,現在IntelliJ IDEA這麼強大,我們看看如何把eclipse的專案匯入Intel
解決java web連結資料庫時出現500的問題
因為剛接觸web,所以,唉。。。說多了都是淚啊。。。。 說說今天遇到的問題, 百度了一下,說明是資料庫沒連線上。但是檢查了一下自己的配置,自己已經匯入了資料庫jar包了啊,這就有點玄學了。。。 然後回來又看了看,繼續百度了又百度,終於解決了。。。 解決方法如下:
maven專案匯入後出現這個錯誤Project build error: Unresolveable build extension: Plugin
轉自:https://zhidao.baidu.com/question/424995354064043932.html org.apache.mavenwagon-webdav:1.0-beta-2 or one of its dependencies co
Java web專案啟動後執行一次的方法
方法一、定義一個類,宣告一個方法,方法中呼叫需要啟動後執行的程式碼。 eg: public class InitProcess { @Autowired private ValidateCodeMapper validateCodeMapper; public
java web 專案改名後 頁面訪問不了
改包名後,用新的或者舊的url均不能開啟頁面 原因是即使改了包名,但是tomcat已經編譯釋出過,所以還是原來的目錄,但是用的新的url,所以訪問不了 可在option檢視得到,但是這裡改不了 需要把deployment先刪除,重新建個deployment即可
徹底解決java WEB專案的檔案路徑問題(war包)
在j2EE專案中,我們一般會把專案打包釋出,一般是war包,作為獨立單元,可以遠端上傳,載入,釋出,還可以實現版本控制,但這與我們開發過程中使用MyEclipse自動部署有所不同,以下做詳細說明. 使用war包部署,在tomcat和WebLogic下部署有很大的區別,tom
[IDEA]IntelliJ IDEA匯入JDK出現The selected directory is not a valid home for JDK問題的解決方法
昨天在實驗室的桌上型電腦上配置Java。之前一直在MAC上都是使用IntelliJ IDEA玩耍,這次也不能少了它。馬上上官網下載了一個Windows版的,用學生帳號註冊完之後,就可以直接使用了!但是在匯入JDK的時候遇到了問題 ,下圖是新增JDK的介面: 點選new按鈕後出現下圖:
啟動weblogic報錯:string value '2.4' is not a valid enumeration value for web-app-versionType in namespace http://java.sun.com/xml/ns/javaee
-a xsd not app b- 1.0 ring encoding ont 啟動報錯: 原因:有人改動了web.xml的頭 解決方法: 在web.xml中修改擡頭為: <?xml version="1.0" encoding="UTF-8"?> <we
解決編譯時出現的警告:format string is not a string literal (potentially insecure)┊
在Xcode 4.2(iOS 5)之前,我猜大家都和我一樣很喜歡下面的除錯輸出寫法: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 NSStrin
解決vmware tools工具安裝時出現的the path“”is not a valid問題
問題如圖這個問題是因為:1.你沒有裝kernel-devel2.你裝了kernel-devel但是版本與你的linux核心版本不相容(大概是這個意思)同樣也或出現gcc的這個問題,那就是沒裝gcc了。怎麼解決呢,首先使用#uname -r檢視你的核心,我裝的是centos7,
不修改系統日期和時間格式,解決Delphi報錯提示 '****-**-**'is not a valid date and time
ali class ngs als ica 日期和時間 val 添加 ats 假如操作系統的日期格式不是yyyy-MM-dd格式,而是用strtodate(‘2014-10-01‘)) 來轉換的話,程序會提示爆粗 ‘****-**-**‘is not a valid dat
Android之Error: 'L' is not a valid file-based resource name character解決辦法
copyto base logo lower too exec article 問題 tools 1、問題 [html] view plain copy Error:Execution failed for task ‘:mergeBYODReleaseR
postgis-2.0.dll": %1 is not a valid Win32 application解決方案
下載地址: 連結: https://pan.baidu.com/s/1qLrmqEoFdvf4n9vkw-RSxw 密碼: 63l2 參考部落格: https://blog.csdn.net/atzhangzt/article/details/69788102?locationNu
postgreSQL/lib/oracle_fdw.dll":%1 is not a valid Win32 application解決辦法
1、下載postgreSQL 2、下載oracle_fdw 問題: ERROR:could not load library "E:/python/postgreSQL/postgreSQL/lib/oracle_fdw.dll":%1 is not a val