eclipse创建了一个maven项目后,在导入依赖包后返现项目有个红色刺眼的感叹号,再看控制台有个Problem提示 Descriptio Resource Path LocationType Archive for required library: 'D:/apache-maven/apache-maven-3.6.0/mavenrepository/org/springframework/spring-aspects/4.3.7.RELEASE/spring-aspects-4.3.7.…
Archive for required library: 'E:/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar' in project 'test02' cannot be read or is not a valid ZIP file maven仓库的jar包有问题   ,不完整   删除重新下载即可…
今天导入一个项目工程,发现报错:Archive for required library: 'D:/Program Files/Apache/maven-repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar' in project 'app-server' cannot be read or is not a valid ZIP file. 意思是:所需库的归档文件:'D:/Program Files/Apache/maven-repository/dom4j…
我的maven 项目有一个红色感叹号, 而且Problems 存在 errors : Description Resource Path Location Type Archive for required library: 'D:/mvn/repos/junit/junit/3.8.1/junit-3.8.1.jar' in project 'xxx' cannot be read or is not a valid ZIP file ktb-mgr Maven Webapp Build pa…
error: Description Resource Path Location Type Archive for required library: 'C:/Users/EuphemiaShaw/.m2/repository/org/apache/hadoop/hadoop-hdfs/2.6.5/hadoop-hdfs-2.6.5.jar' in project 'mapreduce' cannot be read or is not a valid ZIP file mapreduce B…
Eclipse报错: Description Resource Path Location Type Archive for required library: 'C:/Users/fk/.m2/repository/com/sun/xml/bind/jaxb-core/2.2.7/jaxb-core-2.2.7.jar' ...... 原因:  C:\WorkData\Resource\com\sun\xml\bind\jaxb-impl\2.2.3-1  目录下的jar包“jaxb-impl…
最近把移动硬盘上的一个Android项目复制到笔记本上面,import后项目文件夹始终有一个红色叹号,console里面提示“archive for required library...”,原来是libs\android-support-v4.jar文件被损坏了,重新下载并覆盖这个文件,恢复正常了!!!…
今天导入一个项目到eclipse,出现感叹号,而且报1. Archive for required library: ‘WebContent/WEB-INF/lib/xxxxx.jar cannot be read or is not a valid ZIP file,倒腾了半天,原来是引用的jar包已经损坏,换jar包,一切恢复正常.今天导入一个项目到eclipse,出现感叹号,而且报1. Archive for required library: ‘WebContent/WEB-INF/li…
今天在导入maven项目的时候在problems视图中报错: Archive for required library:xxxxx/spring-beans-3.2.4.RELEASE.jar in project XXXXX cannot be read or is not a valid ZIP file 网上的有一下解决方法: 1.close project 然后open project. 2.重新启动eclips. 3.去.m2资源库中删除报错的jar包,然后选中项目:右键->Maven…
Maven报错Archive for required library:某.jar' in project '项目名'cannot be read or is not a valid ZIP file 报错信息:项目出现红色叉号 报错原因:maven自动下载的依赖包错误 解决方法:eclipse顶部–>窗口–>显示视图–>其他–>问题 出现这个视图后,查看错误提示信息,找到错误文件路径,手动删除即可.…
从别的地方导入进来的maven项目报: Description Resource Path Location TypeJava compiler level does not match the version of the installed Java project facet. springboot Unknown Faceted Project Problem (Java Version Mismatch) 可以参考下面的这个博客,可以成功解决. 参考:https://blog.csdn…
在下载JAR包过程中遇到了错误,根据提示找到maven仓库报错的目录,将该目录下的所有文件删除重新下载即可…
Description::部署tld文件时报错 我的解决方法: 右击(当前项目)->Build Path->Java Build Path ( Configure Build Path... )->library,然后将提示的文件(我这里是Mytag.tld)从library中删除删除, 最后关闭Tomcat服务器,重新部署项目,然后重启Tomcat服务器…
To fix issues like that, let Maven download the files again: Delete the folder D:/mypath/.m2/repository/javax/transaction/jta Run Maven with -U so it tries broken downloads again.(maven---update project...) That should try to download the file again…
原因 :部分文件毁坏. 解决办法:1. 在eclipse中运行maven clean install 2. 报错,找到报错的文件物理删除,然后重新运行maven clean install  3. 循环继续,直至build success   4. maven-->update project-->(force)…
原因:maven下载的jar包有问题,导致maven编译的时候出错 解决方法:找到jar包所在的文件路径,在网上重新下载个相同版本的jar包,问题解决…
项目现象如下: 这是由于你的 Maven 编译级别是 jdk太低了 解决方法: 1.在eclipse的工程上选择属性,在选择Project Facets里面中选择Dynamic web Module,将版本改成2.5 如下图: 2.在工程目录下(项目所在的那个位置) 有一个.settings文件夹(linux系统这个文件夹是隐藏的)打开org.eclipse.wst.common.project.facet.core.xml 做如下修改: <installed facet="jst.web…
问题描述: Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to find the required library mclmcrrt9_2.dll on java.library.path. This library is typically installed along with MATLAB or the MATLAB Runtime. Its absence may indicate an i…
报错: Description Resource Path Location TypeAccess restriction: The type Map<String,Object> is not accessible due to restriction on required library D:\work\Java\jre7\lib\rt.jar import.jsp /gdbsOpenplat/WebContent/WEB-INF/jsp/common line 17 JSP Probl…
在Eclipse中编写Java代码时,用到了BASE64Decoder,import sun.misc.BASE64Decoder;可是Eclipse提示:Access restriction : The type BASE64Decoder is not accessible due to restriction on required library C:\Programfiles\java\jre6\lib\rt.jarAccess restriction : The constructo…
error for 'Access restriction: The type AESKeyGenerator is not accessible due to restriction on required library D:\Programles\Java\jdk1.6.0_43\jre\lib\ext\sunjce_provider.jar' when running the segment code com.sun.crypto.provider.AESKeyGenerator.cla…
The type AWTUtilities is not accessible due to restriction on required library D:\Program Files\jdk1.6.0_24\jre\lib\rt.jar”, Access restriction: The type WindowsLookAndFeel is not accessible due to restriction on required library 解决的方法:在project build…
Eclipse报错 due to restriction on required library C:/Java/jdk1.6.0_10/jre/lib/rt.jar 解决方案 Eclipse 编译时报错: Access restriction:The type NEW is not accessible due to restriction on required library C:/Java/jdk1.6.0_10/jre/lib/rt.jar 解决方法如下:  1.进入Project -…
Symptom The full error message is as follows:Error logging in.  Unable to process the database transaction.  Error:DBMS API library 'oci.dll' loading failsThis library is a part of DBMS client installation, not SQLAPI++Make sure DBMS client is instal…
[场景]调用com.sun.awt.AWTUtilities时,eclipse提示编译错误: Access restriction: The type 'AWTUtilities' is not API (restriction on required library 'C:\Program Files\Java\jre7\lib\rt.jar') [分析]eclipse项目默认的jre版本较早. com.sun.awt.AWTUtilities是在JDK 6 update10中增加的. [解决…
在JAVA项目开发中,使用到了BASE64Decoder,但编辑运行时却会出现以下错误:Access restriction required library rt.jar,这里就详细的说明一下如何解决这个问题.   方法/步骤     双击桌面上的Eclipse快捷方式启动Eclipse.   Eclipse启动中.   选中出错的项目,点击项目菜单>属性   点击左侧的“JAVA Build Path”.   切换到“Libraries”标签,选中“Access rules”,点击“Edit…
原文链接:http://rxxluowei.iteye.com/blog/671893 今天写第一次写JavaFX的入门程序就GG 遇到了导入API的问题,无奈疯狂地通过网络找解决方案.. 我的问题是: 导入import javafx.application.Application;时 出现这个错误提示 Access restriction: The type 'Application' is not API (restriction on required library 'C:\Progra…
Logcat报错:Description    Resource    Path    Location Type Error executing aapt: Return code -1073741819 Client line 1 我在做项目移植的时候,报这个错误,原因是我删除了string.xml文件中的action_settings属性 重新添加一个即可: <string name="action_settings">setting</string>…
The type * is not accessible due to restriction on required library”的错误, 意思是所需要的类库由于受限制无法访问. 解决办法: 1.选中项目->右键->进入Properties视图,选中Java Build Path->点击Libraries->展开JRE System Library[JavaSE-1.6],选中Access rules这一项.如图: 2.Edit->点击Add->在Rule Pat…
解决方法: Project -> Properties -> libraries, 先remove掉JRE System Library,然后再Add Library重新加入. ============================================ 在Eclipse中处理图片,需要引入两个包:import com.sun.image.codec.jpeg.JPEGCodec;import com.sun.image.codec.jpeg.JPEGImageEncoder;报错…