[update] 显式指定注解处理器,4.x

This commit is contained in:
wujiawei
2026-01-05 19:48:47 +08:00
parent ada1eeb097
commit 9d9f3fc4c6
2 changed files with 7 additions and 1 deletions

View File

@@ -41,7 +41,7 @@
<dependency> <dependency>
<groupId>io.netty</groupId> <groupId>io.netty</groupId>
<artifactId>netty-all</artifactId> <artifactId>netty-all</artifactId>
<version>4.1.122.Final</version> <version>4.2.9.Final</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>top.wu2020</groupId> <groupId>top.wu2020</groupId>

View File

@@ -60,6 +60,12 @@
<source>25</source> <source>25</source>
<target>25</target> <target>25</target>
<annotationProcessorPaths> <annotationProcessorPaths>
<!-- 关键显式指定注解处理器4.x 必须配置这一段 -->
<path>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${spring-boot-starter.version}</version>
</path>
<path> <path>
<groupId>org.mapstruct</groupId> <groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId> <artifactId>mapstruct-processor</artifactId>