On Tue, Dec 4, 2018 at 10:45 AM Dvir L <[email protected]> wrote: > > We are using Jackson 2.8.5.tr1 (jackson-databind, jackson-core, > jackson-annotations) within our jar file and it works fine using Java 8. When > trying to run our jar file using Java 11, we are getting a runtime exception - > > Caused by: java.lang.ClassNotFoundException: > com.fasterxml.jackson.databind.ObjectMapper > > at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471) > > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588) > > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) > > Any idea why this is happening and how to address this ? Thanks ! >
No idea whatever: stack trace does not contain much useful information. But basic tests work on Java 9+ so it probably comes down to whatever container is managing classloading: it's not about ObjectMapper finding something but something else not even finding Jackson classes. Which sounds like something Jackson itself would not have control over. -+ Tatu +- -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
