解决 Description Resource Path Location Type Archive for required library
程序员文章站
2022-04-28 09:05:27
...
导入项目的时候,运行时出现了 Bug – 错误: 找不到或无法加载主类 xxxx
通过 eclipse
上的 Problem
描述 ,找到对应项目的 errors
描述发现错误描述为
Description Resource Path Location TypeArchive for required library: 'C:\Users\xxx\.m2\repository\commons-lang\commons-lang\2.6' cannot be read or load in project `xxxx`
在经过eclipse
的alt+F5
强制更新无效后,根据提示找到maven
仓库报错的目录,回到目录找到地址 C:\Users\xxx\.m2\repository\commons-lang\commons-lang\2.6
并删除 commons-lang
将该目录下的所有文件删除,重新更新项目,会自动重新下载对应的 maven 文件
推荐阅读
-
Resource Path Location Type Target runtime Apache Tomcat v6.0 is not defined(项目报错)已解决
-
Description Resource Path Location Type Java compiler level does not match the version of the in解决方法
-
Resource Path Location Type Target runtime Apache Tomcat v6.0 is not defined(项目报错)已解决
-
pom.xml引入新的依赖后报错:Description Resource Path Location Type Archive for required library: 'C:/Users/use...
-
导项目mavn错Description Resource Path Location Type Archive for required library: 'C:/Users/Administrato
-
解决 Description Resource Path Location Type Archive for required library
-
遇到Description Resource Path Location Type Dynamic Web Module 3.1 requires Java 1.7 or newer.