babyfish-ct / jimmer

A revolutionary ORM framework for both java and kotlin.
Apache License 2.0
876 stars 88 forks source link

JDK21 支持报警 #699

Closed thegenius closed 1 month ago

thegenius commented 1 month ago
<plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.13.0</version>
                    <configuration>
                        <source>21</source>
                        <target>21</target>
                        <encoding>UTF-8</encoding>
                        <annotationProcessorPaths>
                            <path>
                                <groupId>org.projectlombok</groupId>
                                <artifactId>lombok</artifactId>
                                <version>${lombok.version}</version>
                            </path>
                            <path>
                                <groupId>org.mapstruct</groupId>
                                <artifactId>mapstruct-processor</artifactId>
                                <version>${mapstruct.version}</version>
                            </path>
                            <path>
                                <groupId>org.babyfish.jimmer</groupId>
                                <artifactId>jimmer-apt</artifactId>
                                <version>${jimmer.version}</version>
                            </path>
                        </annotationProcessorPaths>
                    </configuration>
                </plugin>

[WARNING] 来自批注处理程序 'org.babyfish.jimmer.apt.JimmerProcessor' 的受支持 source 版本 'RELEASE_8' 低于 -source '21' 虽然不知道有什么影响,但是还是关注一下

thegenius commented 1 month ago
0.8.150
babyfish-ct commented 1 month ago

解决过,升级到最新版0.8.196即可