gpt4 book ai didi

java - jaxb2-maven-plugin :schemagen to work with JDK8? 是否有修复

转载 作者:搜寻专家 更新时间:2023-11-01 02:26:34 24 4
gpt4 key购买 nike

在 JDK 7 中,jaxb2-maven-plugin 会发出关于 apt 被删除的警告,它现在在 JDK8 中有,我不确定如何让插件与 JDK8 一起工作。

warning: The apt tool and its associated API are planned to be removed in the next major JDK release. These features have been superseded by javac and the standardized annotation processing API, javax.annotation.processing and javax.lang.model. Users are recommended to migrate to the annotation processing features of javac; see the javac man page for more information.

我已经在项目页面上创建了一个工单:MJAXB-83 .

最佳答案

从 1.6 版开始,JAXB2 schemagen 与 JDK8 一起工作,它足以更新项目的 pom.xml 中的插件引用。

关于java - jaxb2-maven-plugin :schemagen to work with JDK8? 是否有修复,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21364402/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com