-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"package javax.xml.bind.annotation does not exist" error when java-12-openjdk is used #9523
Comments
Did you solve your issue? If yes, how? |
Answer to my question above: Just add those to your project:
as in #9637 |
@spaszek Can you help me understand what you mentioned? What is the implementation group and where should it go? I'm transitioning a project from JDK 8 to JDK 11 (long term support releases only), and I'm wondering if this is still a swagger codgen impediment. I appreciate your help (and following up on the original post that was several months old). |
https://www.jesperdj.com/2018/09/30/jaxb-on-java-9-10-11-and-beyond/ |
fixed by #11132 to use java 11 we need to use the option:
|
Hello. |
Description
There is
[ERROR] /home/aim/tmp/swagger-codegen/modules/swagger-generator/src/main/java/io/swagger/generator/model/ApiResponse.java:[17,33] package javax.xml.bind.annotation does not exist
error using java-12-openjdk
Swagger-codegen version
last master
Command line used for generation
Suggest a fix/enhancement
switch to java-10-openjdk
via
sudo archlinux-java set java-10-openjdk
related
https://stackoverflow.com/questions/52502189/java-11-package-javax-xml-bind-does-not-exist
The text was updated successfully, but these errors were encountered: