fix: Compatibility issues of server in jdk17 #967

This commit is contained in:
tjq 2024-08-25 17:48:28 +08:00
parent 06438b145d
commit 170319444c

View File

@ -17,6 +17,7 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<jaxb-impl.version>2.3.9</jaxb-impl.version>
<springdoc-openapi-ui.version>1.6.14</springdoc-openapi-ui.version>
</properties>
@ -70,6 +71,13 @@
<groupId>tech.powerjob</groupId>
<artifactId>powerjob-client</artifactId>
</dependency>
<!-- 兼容高版本JDK移除 jaxb API后续若项目工程语言级别提升到 17+,需要更改此依赖版本到 4.x -->
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>${jaxb-impl.version}</version>
</dependency>
</dependencies>
<!-- SpringBoot maven plugin -->