解决 Description Resource Path Location Type Archive for required library

导入项目的时候,运行时出现了 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`

在经过eclipsealt+F5强制更新无效后,根据提示找到maven仓库报错的目录,回到目录找到地址 C:\Users\xxx\.m2\repository\commons-lang\commons-lang\2.6 并删除 commons-lang 将该目录下的所有文件删除,重新更新项目,会自动重新下载对应的 maven 文件

猜你喜欢

转载自blog.csdn.net/qq_36148847/article/details/79535360
今日推荐