1、问题描述:运行tomcat 时报错,提示无法找到相关的jar包,如下

Publishing failed with multiple errors

Error reading file C:\Users\Lin\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar

C:\Users\Lin\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar (系统找不到指定的文件。)

Error reading file C:\Users\Lin\.m2\repository\org\springframework\spring-expression\4.3.14.RELEASE\spring-expression-4.3.14.RELEASE.jar

C:\Users\Lin\.m2\repository\org\springframework\spring-expression\4.3.14.RELEASE\spring-expression-4.3.14.RELEASE.jar (系统找不到指定的文件。)

Error reading file C:\Users\Lin\.m2\repository\org\springframework\spring-web\4.3.14.RELEASE\spring-web-4.3.14.RELEASE.jar

2、原因分析:第一次运行其他项目时失败。因无网络连接,导致部分文件没有下载完成或下载失败。

3、原因排查:在本地仓库下查找,确实找不到相关文件,说明部分文件损坏或者未存在,需要重新下载。

4、解决方法:右击项目-->Run As -->Maven test  进入项目自检,接下来会自动下载需要的jar包,如下

下载完成后, 重新运行项目即可。若有其他问题发生,根据提示进一步排查。

运行tomcat 时报错,提示无法找到相关的jar包 Publishing failed with multiple errors Error reading file相关推荐

  1. 解决IDEA项目运行Tomcat时报错Cannot build artifact

    IDEA项目运行Tomcat时报错:Error:Cannot build artifact '项目名:war exploded' because it is included into a circu ...

  2. 报错Publishing failed with multiple errors Could not delete *

    报错:Publishing failed with multiple errors Could not delete ,May be locked by another process. 在eclip ...

  3. Publishing failed with multiple errors和Timeout waiting for Tomcat v5.5的解决方法

    今天早上来到公司,和往常一样打开我的Eclipse,就在这个时候问题发生了,还不只一个问题先是报 Publishing failed with multiple errors 紧接着又开始报 Time ...

  4. IDEA:运行Tomcat时报错“1099”:Address localhost:1099 is already in use

    1.报错的结果 报错Address localhost:1099 is already in use 意思就是: 地址localhost:1099已被使用 2.报错原因 1.tomcat的端口已经被使 ...

  5. Apex运行时报错提示“easy anti-cheat”“Game Security Violation Detected(#0000000D)[xxx.exe]“ 问题解决方案

    Apex运行时报错提示"Game Security Violation Detected(#0000000D)[xxx.exe]" 问题解决方案 1.问题分析 某天加载游戏突然失败 ...

  6. Ubuntu运行vmware时报错Vmware Unable to install all modules!Use shipped Linux kernel AIO access library解决。

    ubuntu运行vmware时报错: Vmware Unable to install all modules 命令: vmware --version 提示下面内容: [AppLoader] Use ...

  7. node汉字拼音转换需要用到pinyin包,使用pinyin中的分词时报错提示需要安装nodejieba依赖...

    1.使用pinyin中的分词时报错提示需要安装nodejieba依赖: 2.安装 npm install -g nodejieba 报错 解决方案如下:  1.安装  npm install -g n ...

  8. 命令行运行命令时报错You don#39;t have write permissions for the /Library/***

    这是由于要运行这些操作时必须有管理员的权限(比方更新软件),比方更新cocoapods时报错 soindy:SmartThermo soindy$ gem install cocoapods Fetc ...

  9. MySQL5.7创建唯一索引时报错提示Duplicate entry * for key *

    一.报错原因 因表中创建唯一索引的列有重复数据,导致创建唯一索引时报错提示Duplicate entry * for key * 二.报错演示 例如lz用户表中用户名.邮箱和创建时间三列属性中存在相同 ...

最新文章

  1. 2020人工神经网络第一次作业-参考答案第八部分
  2. python正则表达式代码_python的re正则表达式实例代码
  3. 【 Vivado 】时钟组(Clock Groups)
  4. Android Jetpack LiveData 源码解析
  5. window8下安装RabbitMQ
  6. Python安装pip
  7. 【OpenCV 例程200篇】43. 图像的灰度变换(对数变换)
  8. java三国群雄_三国群英-真三国无双
  9. 201521123083《Java程序设计》第11周学习总结
  10. Facebook宣布进一步推广Live Video功能
  11. 为什么阿里规定需要在事务注解 @Transactional 中指定 rollbackFor?这...
  12. js基础-(二)-类和面向对象
  13. [计算机网络]-网络层-1
  14. PostgreSQL 数据加密之 pgcrypto
  15. 牛顿法的收敛速度为何比梯度下降法快?
  16. 一梦三四年——国产MOBA网游的巅峰
  17. 电脑哪个服务器可以玩无限连击,无尽之剑3手把手教你无限连击攻略
  18. Python还在原地踏步?今天女友程序员教你函数的定义与使用
  19. TOTP 介绍及基于C#的简单实现
  20. 你真的懂insert or update?

热门文章

  1. tp5的时间查询,查询时间戳是否在某一天中
  2. 网课搜题API接口搭建教程
  3. HTML制作3D樱花漫天飞舞及浪漫信封
  4. 鹏鹏的Altium Designer快捷方式技巧--SCH
  5. 爬虫小程序 - 单词量测试
  6. 奇迹mu服务器架设全教程
  7. 黑苹果 惠普笔记本电池补丁_笔记本的黑苹果之路
  8. 英语学习方法:我是怎么从高考英语115考到托福97的
  9. 当GUSD遇上STO,全球投资格局与资金流向生变? | 链塔智库
  10. 本地时间 与 UTC 时间 相互转化