Skip to content
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

use jaxb-runtime-3.0.0.jar #2

Open
homebeaver opened this issue Mar 10, 2021 · 2 comments
Open

use jaxb-runtime-3.0.0.jar #2

homebeaver opened this issue Mar 10, 2021 · 2 comments

Comments

@homebeaver
Copy link
Contributor

current is jaxb-runtime-2.3.3.jar

@homebeaver
Copy link
Contributor Author

18.11.2020  17:36            62.731 jakarta.activation.jar
18.11.2020  17:36           129.000 jakarta.xml.bind-api.jar
18.11.2020  17:37           238.251 jaxb-core.jar
18.11.2020  17:37           934.720 jaxb-impl.jar
18.11.2020  17:38           117.138 jaxb-jxc.jar
18.11.2020  17:37         1.915.612 jaxb-xjc.jar

TODO:
recompile xsd-files and build pojos with xjc-tool and java 11
the old xjc-tool (internal java-8 or jaxb-runtime-2.3.3.jar) uses javax.xml.bind.* - the new jaxb 3.0 uses jakarta.xml.bind.*

  • to compile set typesafeEnumMaxMembers to avoid the warning:

`[WARNING] Simple type "DocumentCodeContentType" was not mapped to Enum due to EnumMemberSizeCap limit. Facets count: 727, current limit: 256. You can use customization attribute "typesafeEnumMaxMembers" to extend the limit.

the result cannot run with java 8!
see https://stackoverflow.com/questions/10382929/how-to-fix-java-lang-unsupportedclassversionerror-unsupported-major-minor-versi/11432195#11432195
`

@homebeaver
Copy link
Contributor Author

jakarta EE is the new java EE!

  • it includes JAXB - Java XML Binding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant