Open mrerhuo opened 6 years ago
Have you tried using --add-modules java.xml.bind when starting your application?
@jansupol Aren't Java EE modules marked as deprecated (and even marked for removal!) though? I was under the impression that adding javax.xml.bind:jaxb-api
as a dependency was the intended solution.
From JEP 261:
Modules that define Java EE APIs, or APIs primarily of interest to Java EE applications, have been deprecated and will be removed in a future release. They are not resolved by default for code on the class path
Yes, the plan is to remove Java EE modules from future versions of JDK. For JDK 9, the modules are still there. As always, JDK not necessarily contains latest versions, so using jaxb dependency you mentioned would be preferable.
i creat java9 error list: