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

JAXB not available in JDK 9 #1265

Closed
sbordet opened this issue Jan 17, 2017 · 1 comment
Closed

JAXB not available in JDK 9 #1265

sbordet opened this issue Jan 17, 2017 · 1 comment

Comments

@sbordet
Copy link
Contributor

sbordet commented Jan 17, 2017

JAXB was previously available directly from JDK 8 (javax.xml.bind.JAXB) because it was shipped in rt.jar.

The JASPI integration relies on JAXB being available, but building the jetty-jaspi module with JDK 9 results in:

java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
	at org.eclipse.jetty.security.jaspi.JaspiTest.before(JaspiTest.java:98)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
	at org.eclipse.jetty.security.jaspi.JaspiTest.before(JaspiTest.java:98)
@sbordet sbordet added the jdk9 label Jan 17, 2017
@sbordet
Copy link
Contributor Author

sbordet commented Jan 17, 2017

http://mail.openjdk.java.net/pipermail/jdk9-dev/2016-May/004309.html for an explanation of why JAXB is not available in JDK 9.

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