我的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…
最近把移动硬盘上的一个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…
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…
Maven报错Archive for required library:某.jar' in project '项目名'cannot be read or is not a valid ZIP file 报错信息:项目出现红色叉号 报错原因:maven自动下载的依赖包错误 解决方法:eclipse顶部–>窗口–>显示视图–>其他–>问题 出现这个视图后,查看错误提示信息,找到错误文件路径,手动删除即可.…
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…
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…
原文链接: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…
在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…
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…
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 -…
问题描述: 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…
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中增加的. [解决…
异常: Access restriction: The method typeNameToClass(String) from the type ObjectHandler is not accessible due to restriction on required library 解决方法: 这是eclipse设置问题,eclipse默认把这些受访问限制的API设成了ERROR,只要把 Windows-Preferences-Java-Complicer-Errors/Warnings 里…