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…
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…
最近把移动硬盘上的一个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…
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顶部–>窗口–>显示视图–>其他–>问题 出现这个视图后,查看错误提示信息,找到错误文件路径,手动删除即可.…
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…
Description::部署tld文件时报错 我的解决方法: 右击(当前项目)->Build Path->Java Build Path ( Configure Build Path... )->library,然后将提示的文件(我这里是Mytag.tld)从library中删除删除, 最后关闭Tomcat服务器,重新部署项目,然后重启Tomcat服务器…
原因 :部分文件毁坏. 解决办法:1. 在eclipse中运行maven clean install 2. 报错,找到报错的文件物理删除,然后重新运行maven clean install  3. 循环继续,直至build success   4. maven-->update project-->(force)…
在下载JAR包过程中遇到了错误,根据提示找到maven仓库报错的目录,将该目录下的所有文件删除重新下载即可…
原因:maven下载的jar包有问题,导致maven编译的时候出错 解决方法:找到jar包所在的文件路径,在网上重新下载个相同版本的jar包,问题解决…
使用SpringMVC报错 Error creating bean with name 'conversionService' defined in class path resource [springmvc.xml] Could not instantiate bean class [org.springframework.core.convert.support.ConversionServiceFactory]: Error creating bean with name '(inner…
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…
解决方法: Project -> Properties -> libraries, 先remove掉JRE System Library,然后再Add Library重新加入. ============================================ 在Eclipse中处理图片,需要引入两个包:import com.sun.image.codec.jpeg.JPEGCodec;import com.sun.image.codec.jpeg.JPEGImageEncoder;报错…
查了下竟然是编译器报错,orz了. Access restriction: 访问限制 on required library: 在依赖库(第三方包) 那就简单了,取消限制就好, eclipse的Window - preference - Java -Compiler - Errors/Warnings界面的Deprecated and restricted API下.把Forbidden reference (access rules): 的规则由默认的Error改为Warning即可. ide…
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…
异常: 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 里…
error items-9022:missing required icon file.the bundle does not contain an app icon for iPhone/iPad Touch of exactly '120x120' pixels,in.pen format for ios versions >= 7.0 最近提交itunesconnect应用时,有个警告说缺少120x120图标 以下是本人解决方法: 添加Icon_120x120.png-->.plist添…
报错: Access restriction:The type JPEGCodec is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar   解决方法: Project -> Properties -> libraries, 先remove掉JRE System Library,然后再Add Library重新加入. =====================…
原文链接: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…
是./configure出了问题,于是回头查看,果然发现问题: 最后几行出了错.完整错误信息如下: checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for termcap functions library... c…
error: could not find library containing RSA_new yum -y install openssl-devel apt-get install libssl-devel…
在用cocos2d-x3.2 + protobuf编译Android项目的时候,protobuf出现了两个问题: 1. 首先是config.h找不到,查阅自后说是通过命令或工具生成的,里面的内容根据不同平台是不一样的(引用一些用到的库,例如hash_map,hash_set等,和部分宏定义),那么就要在自己手动生成,或者自己创建一个空的config,自己把一些引用到的库加进去,为了能快速编译通过,我就自己创建了一个config.h,没有引用任何库. #ifndef _LINUX_CONFIG_H…
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…