当前位置: 首页 > article >正文

SPRINGBOOT 打包报错

springboot 2.3.2.RELEASE 打包报错
错误信息如下:

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.3.2.RELEASE:repackage (repackage) on project csg-reslibapi: Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.3.2.RELEASE:repackage failed: A required class was missing while executing org.springframework.boot:spring-boot-maven-plugin:2.3.2.RELEASE:repackage: org/apache/maven/shared/utils/StringUtils
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.springframework.boot:spring-boot-maven-plugin:2.3.2.RELEASE
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy

根据错误提示得知 spring-boot-maven-plugin 插件存在问题
到pom中找到该插件点进去
在这里插入图片描述
找到与org/apache/maven/shared/utils/StringUtils相同路径的maven
在这里插入图片描述

去仓库找到与该jar相邻的pom,打开发现内容是空的在这里插入图片描述
解决方案:删除对应版本
在这里插入图片描述
idea刷新项目,待该jar包重新下载完毕,再删除spring-boot-maven-plugin 对应版本,刷新idea重新下载。即可打包正常


http://www.kler.cn/news/359121.html

相关文章:

  • YOLOv11改进策略【模型轻量化】| 替换骨干网络为 MobileViTv1高效的信息编码与融合模块,获取局部和全局信息
  • COALESCE 是 SQL 中的一个函数,用于返回第一个非 NULL 的表达式的值
  • 大数据都包括哪些内容
  • sass的使用
  • 单例设计模式(Singleton Pattern)
  • 数据分析-33-我国各地区近年来结婚离婚情况分析
  • Codeforces Round 979 (Div. 2) A-C 题解
  • 【Qt】详细Qt基础 (包括自定义控件)
  • 说说ConcurrentLinkedQueue的HOPS(延迟更新的策略)的设计?
  • 第二十六:TCP/IP的知识回顾
  • SpringCloudStream使用StreamBridge实现延时队列
  • 【C++打怪之路Lv9】-- vector
  • CMake变量:CMAKE_FIND_LIBRARY_SUFFIXES
  • 开关柜触头中的无线测温
  • DORA 机器人中间件学习教程(5)——3D激光雷达数据可视化
  • ATTCK 框架讲解
  • 线性代数 向量
  • 行业标准丨《变电站智能巡检导则:图像识别》(征求意见稿)
  • Scrapy | 使用Scrapy进行数据建模和请求
  • 在日本生活压力大吗?