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

ClassNotFoundException: Compatibility issue with java versions newer than Java 10 #154

Open
armor009 opened this issue Nov 9, 2020 · 0 comments

Comments

@armor009
Copy link

armor009 commented Nov 9, 2020

ClassNotFoundException: Compatibility issue with java versions newer than Java 10

Exception in thread "restartedMain" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at me.postaddict.instagram.scraper.mapper.ModelMapper.mapObject(ModelMapper.java:176)
at me.postaddict.instagram.scraper.mapper.ModelMapper.mapMedia(ModelMapper.java:48)
at me.postaddict.instagram.scraper.Instagram.getMediaByUrl(Instagram.java:118)
at me.postaddict.instagram.scraper.Instagram.getMediaByCode(Instagram.java:123)
at me.postaddict.instagram.scraper.Instagram.getAccountById(Instagram.java:83)
....
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)

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