maven 项目报错--Using ‘UTF-8‘ encoding to copy filtered resources

springboot项目打包出现报这个错:

INFO --- maven-resources-plugin:3.2.0:resources (default-resources) @ myspringsecurity ---

INFO Using 'UTF-8' encoding to copy filtered resources.

INFO Using 'UTF-8' encoding to copy filtered properties files.

INFO Copying 1 resource

解决: 降低maven版本,在<build></build>标签中的<plugins></plugins>标签下加入下面配置

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-resources-plugin</artifactId>

<version>3.0.2</version>

</plugin>

相关推荐
有个傻瓜4 小时前
分页 total 对不上、列表还少几条:MyBatis-Plus 一对多 LEFT JOIN 分页错乱复盘与四种写法实测
spring boot·sql优化·mybatis-plus·分页查询·踩坑复盘
考虑考虑4 小时前
JDK27结构化并发
java·后端·java ee
Cosolar7 小时前
监控指标全正常,订单接口从 80ms 涨到 4s 故障复盘
java·后端·面试
千寻技术帮15 小时前
微信小程序+Spring Boot 烘焙商城系统(附完整源码+数据库+部署文档)50053
数据库·spring boot·微信小程序·烘焙商城
会编程的吕洞宾16 小时前
Spring AI 2.0 工具调用实战:让 AI 自动调用你的 Java 方法
java·人工智能·经验分享·后端·spring
斯维赤16 小时前
SELECT * 为什么是覆盖索引的天敌?
java·后端·mysql
stormsha16 小时前
库存 5,10 个并发各买 1 件:为什么最后不剩 -5 件
java·数据库·mysql
RobinXYuan17 小时前
【Java 字节码探秘】02 ClassFile 骨架:十个字段
java·jvm·源码阅读
炸薯条!17 小时前
Python面向对象基础:类与对象、实例方法、魔法方法和属性详解
java·开发语言·python
SimonKing18 小时前
又一款数据库同步神器,2.3K Star的dbswitch
java·后端·程序员