How do you invoke schemagen in Java 11?

前端 未结 3 1168
时光取名叫无心
时光取名叫无心 2021-02-09 17:03

According to Oracle documentation the schemagen tool is removed from the JDK as part of JEP 320 (http://openjdk.java.net/jeps/320). That JEP points to Maven artifacts that now s

3条回答
  •  你的背包
    2021-02-09 17:56

    The issue seems to be known with the jaxb-*:2.3.0 version - #jaxb-v2/issues/1168. Additionally, this would be resolved with a future release as marked in the known issues of jaxb running over java-9.

    You can resolve this following the comment -

    Please try 2.4.0-b180725.0644 - this is JPMS modularized RI working on JDKs with java.xml.bind module (9,10) and those without it (11-ea)

    or try downloading the binary distribution from the same link.

提交回复
热议问题