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

相关文章:

  • 2021-04-09
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-07-14
  • 2021-05-01
猜你喜欢
  • 2021-04-16
  • 2021-12-16
  • 2022-01-05
  • 2022-12-23
  • 2021-10-10
  • 2021-10-08
  • 2022-01-22
相关资源
相似解决方案