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

Skyprofiler JDK/JRE 10 #9

Open
Michi01 opened this issue Jul 10, 2018 · 2 comments
Open

Skyprofiler JDK/JRE 10 #9

Michi01 opened this issue Jul 10, 2018 · 2 comments

Comments

@Michi01
Copy link

Michi01 commented Jul 10, 2018

In JDK/JRE 10.0.1 the Skyprofiler is not working by default.
Following Message occours on startup: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
Its because of this change in Java here:
https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j/46455026

The solution from stackoverflow worked for me:
Add this to the pom.xml

javax.xml.bind
jaxb-api
2.2.11


com.sun.xml.bind
jaxb-core
2.2.11


com.sun.xml.bind
jaxb-impl
2.2.11


javax.activation
activation
1.1.1

@mahegithub
Copy link

mahegithub commented Jul 10, 2018 via email

@Michi01
Copy link
Author

Michi01 commented Jul 10, 2018

Ah sorry, Github filters out the XML, look into the stackoverflow answers, there you will find the dependencies that need to be added for java 9/10 and higher.

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

2 participants