maven_Archive for required library
1. 問題背景?
現在大部分網際網路開發公司使用的框架基本上都是springboot,springboot給我們帶來了更便捷的開發。然而springboot的依賴jar包配置一般都在pom檔案,在這過程中,我們會經常遇見一些問題。
今天記錄的是常見問題之一:Archive for required library: ‘X:/XX/com/itextpdf/itextpdf/5.5.10/itextpdf-5.5.10.jar’ in project ‘XXX’ cannot be read or is not a valid ZIP file
2. 問題
我們可以看到在eclipse中的會顯示出來這個問題,其大概意思就是XXX.jar包不能讀取或不是有效的zip檔案。
3. 問題解決
解決:找到提示所所對應的路徑,然後刪除該檔案,讓maven重現下載檔案即可。下載好了後,我們更新maven專案即可。。
4. 問題出現分析
其實這個問題出現的原因就是我們在maven下載檔案時,終止或者斷網等因素,打斷了maven的下載。
這樣maven在檢測的時候,會把它當成一個已下載完畢的檔案,不回去重新下載更新。然後這個檔案卻又用不了,故會報此錯誤。
相關推薦
maven_Archive for required library
1. 問題背景? 現在大部分網際網路開發公司使用的框架基本上都是springboot,springboot給我們帶來了更便捷的開發。然而springboot的依賴jar包配置一般都在pom檔案,在這過
Description Resource Path Location Type Archive for required library
Description Resource Path Location Type Archive for required library 第一步:移除對應的依賴。 第二步:在project上找到maven,點選update
Maven工程中提示:Archive for required library...cannot be read or is not a valid ZIP file
Problem Description I create maven project in Eclipse. Then I got some problems in Markers tab: Solution 1. Enter the directory mentioned in
maven搭建工程後出現感嘆號問題(Archive for required library:。。。。。)
maven 搭建專案時出現紅色感嘆號“!” 解決辦法: 1,去problems view中找到問題: 2,根據問題解決,比如此時提示xml-apis-1.0.b2.jar can not read,自己去http://mvnrepository.com/artifact
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
missing required library libmysql_e.dll,126 解決辦法
連接數據庫 windows missing required library 之前我用navicat premium連接數據庫的時候,報出了這個錯誤“missing required library libmysql_e.dll,126”。 我看了有的解決辦法說,是把缺失的文件方在c:\
(restriction on required library 'C:\Program Files\Java\jre1.8.0_121\lib\ext\nashorn.jar')
今天樓主從git上拉了程式碼之後報錯: Access restriction: The type 'RuntimeNode.Request' is not API (restriction on required library 'C:\Program Files\Java\jre1
Access restriction: The type JPEGCodec is not accessible due to restriction on required library
eclipse的設定問題,它預設把這些受訪問限制的API設成了ERROR,你只要把 Windows-Preferences-Java-Complicer-Errors/Warnings 裡面的Deprecated and restricted API中的Forbidden referen
匯入專案錯誤(二)Project '專案xxx' is missing required library:
Mac匯入以前Windows上面的專案demo,報如下錯誤: Project '0101_lenovomall_UpdateApp' is missing required library: 'D:/yyh_installSoft/androidTools/android_lianXiang
錯誤總結:Access restriction: The type ** is not accessible due to restriction on required library
來到新公司,下載程式碼檢視後發現有很多地方標紅報錯了. 仔細一看都是Access restriction: The type ** is not accessible due to restriction on required library型別的錯誤,這種
java.lang.UnsatisfiedLinkError: dlopen failed: file offset for the library虹軟Bug
java.lang.UnsatisfiedLinkError: dlopen failed: file offset for the library "/data/app/com.arcsoft.sdk_demo-kvhONHnMPDN9YhRUAVn1Ow==/li
Type Project 'generatorSqlmapCustom' is missing required library: 'lib/mysql-connector-java-5.1.28-b
使用generatorSqlmapCustom對資料庫進行逆向工程,生成介面和xml,還有實體時出錯: 表示當前工程lib目錄下的mysql-connector-java-5.1.28-bin.jar包缺失,刪除失效的mysqljar包路徑,重新下載一個新的mysql的jar包放入lib目錄下,buil
Access restriction: The type XMLSerializer is not API (restriction on required library rt.jar
問題 使用 com.sun.org.apache.xml.internal.serialize.OutputFormat 生成XML時找不到這個類,顯示受限制的rt.jar包 方案 右鍵專案 --> properties --> java B
Could not resolve all files for configuration ':library:lintClassPath' Could not find com.android.to
gradle打包出現一下錯誤:* What went wrong:Could not resolve all files for configuration ':library:lintClassPat
Access restriction: The type is not accessible due to restriction on required library問題處理
在做Java時,遇到了個小問題,在Import 包資源時出現: Access restriction: The type XXX is not accessible due to re
Library sources not found for scala-library in Intellij
intellij idea檢視scala sdk的原始碼2016年7月31日暫無評論下載原始碼在intellij idea設定指向原始碼在intellij中開啟File –> Project St
Access restriction: The type 'XXX' is not API (restriction on required library 'C:\Progra
1.問題 Eclipse 編譯錯誤: Access restriction: The type 'xxx' is not API (restriction on required library 'C:\Progra。。。 我引入一個 import sun.misc
problem中Project'XX'is missing required library:'[路徑]\XXX.jar'解決方法
起因: 今天在接手同事做的一個專案時,發現用Myeclipse部署後,專案裡有不少網頁出現紅叉,逐個修改完後,專案理應不再顯示紅叉,但奇怪的是,專案所有的子檔案都沒錯誤,專案根目錄卻有個紅叉。。
[error]Access restriction on class due to restriction on required library rt.jar
jre裡有這個函式 但是卻報錯, 如ImageIO.read(File file) 原因是我新建專案的時候Eclipse用的是OSGI 的jre 裡面有ImageIO但是卻不能用, 刪掉jre後
解決Visual C++ for Linux: -L"~/projects/path_to_lib_folder" 無法設置library search path的問題
一個 是個 映射 images 目的 ++ 用戶名 visual 技術 最近倒騰Linux C/C++項目。以目前的情況來說,要生成編譯(build)一個Linux工程腳本,首選的工具必定是CMake。這也是我之前Linux項目的首選。不過自從VS IDE支持Linux C