解决 Description Resource Path Location Type Archive for required library

时间:2024-03-24 14:56:16

Maven 项目搭建后报错

解决 Description Resource Path Location Type Archive for required library
因为maven在下载jar包时可能出了错误。

  1. 打开报错地址 Archive for required library: ‘D:/Java/Maven/repository/org/apache/tomcat/embed/tomcat-embed-jasper/8.5.28/tomcat-embed-jasper-8.5.28.jar’
    对应的本地 maven 仓库

解决 Description Resource Path Location Type Archive for required library
2. 将此文件夹删除
3. Alt+F5,Update project,或者重新保存pom.xml,让项目重新加载。

解决 Description Resource Path Location Type Archive for required library
4. 若网络不好,重新试着下两遍。

实在不行直接去https://mvnrepository.com/

将所需要的jar包,添加到pom.xml中

解决 Description Resource Path Location Type Archive for required library
解决 Description Resource Path Location Type Archive for required library