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…
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 项目有一个红色感叹号, 而且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…
今天在导入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…
Description::部署tld文件时报错 我的解决方法: 右击(当前项目)->Build Path->Java Build Path ( Configure Build Path... )->library,然后将提示的文件(我这里是Mytag.tld)从library中删除删除, 最后关闭Tomcat服务器,重新部署项目,然后重启Tomcat服务器…
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…
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.…
Maven报错Archive for required library:某.jar' in project '项目名'cannot be read or is not a valid ZIP file 报错信息:项目出现红色叉号 报错原因:maven自动下载的依赖包错误 解决方法:eclipse顶部–>窗口–>显示视图–>其他–>问题 出现这个视图后,查看错误提示信息,找到错误文件路径,手动删除即可.…
在项目中导入别人的maven项目时报错:Archive required for library “xxx” cannot be read or is not a valid zip file 网上查找了相应的解决方法,都是说eclipse自身的bug 或者是删除根目录的.classpath文件,找到“<classpathentry kind=”lib” path=”WebContent/WEB-INF/lib/readme.txt”/>”这一行,删掉 但其实不是这样的,出现这个报错的根本原因…
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)…
在下载JAR包过程中遇到了错误,根据提示找到maven仓库报错的目录,将该目录下的所有文件删除重新下载即可…
原因:maven下载的jar包有问题,导致maven编译的时候出错 解决方法:找到jar包所在的文件路径,在网上重新下载个相同版本的jar包,问题解决…
原文链接: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…
解决方法: Project -> Properties -> libraries, 先remove掉JRE System Library,然后再Add Library重新加入. ============================================ 在Eclipse中处理图片,需要引入两个包:import com.sun.image.codec.jpeg.JPEGCodec;import com.sun.image.codec.jpeg.JPEGImageEncoder;报错…
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 -…
查了下竟然是编译器报错,orz了. Access restriction: 访问限制 on required library: 在依赖库(第三方包) 那就简单了,取消限制就好, eclipse的Window - preference - Java -Compiler - Errors/Warnings界面的Deprecated and restricted API下.把Forbidden reference (access rules): 的规则由默认的Error改为Warning即可. ide…
问题描述: 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中增加的. [解决…
Missing required library libcc.dll 126 安装一个Cygwin就好了…
Eclipse导入(import)项目时出错提示 project is missing required library... 以至于不能build... 然后项目会有红色感叹号: [解决办法] 右击整个project ->> Build path->>Configure build path->>选择Library->>选择出现错误的包->>Remove .即可. (我爱debug,debug使我快乐)…
异常: 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 里…