Replies: 1 comment 5 replies
-
This sounds like a problem with a framework, not Jackson. Glassfish/Jersey perhaps? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I get the following error in my project when i upgraded jackson to 2.15.2 with jersey 2.40.
Any help on this would be appreciated.
Attached the stacktrace below.
java.util.ServiceConfigurationError: com.fasterxml.jackson.databind.Module: com.fasterxml.jackson.datatype.jdk8.Jdk8Module not a subtype
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1244)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309)
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393)
at deployment.stnmmear-2023.8.0.14.ear//com.fasterxml.jackson.databind.ObjectMapper.findModules(ObjectMapper.java:1131)
at deployment.stnmmear-2023.8.0.14.ear//com.fasterxml.jackson.databind.ObjectMapper.findModules(ObjectMapper.java:1115)
at deployment.stnmmear-2023.8.0.14.ear//org.glassfish.jersey.jackson.internal.DefaultJacksonJaxbJsonProvider.filterModules(DefaultJacksonJaxbJsonProvider.java:80)
at deployment.stnmmear-2023.8.0.14.ear//org.glassfish.jersey.jackson.internal.DefaultJacksonJaxbJsonProvider.findAndRegisterModules(DefaultJacksonJaxbJsonProvider.java:62)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at deployment.stnmmear-2023.8.0.14.ear//org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1268)
at deployment.stnmmear-2023.8.0.14.ear//org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:309)
at deployment.stnmmear-2023.8.0.14.ear//org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:351)
at deployment.stnmmear-2023.8.0.14.ear//org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:463)
at deployment.stnmmear-2023.8.0.14.ear//org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
at deployment.stnmmear-2023.8.0.14.ear//org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
at deployment.stnmmear-2023.8.0.14.ear//org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at deployment.stnmmear-2023.8.0.14.ear//org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
at deployment.stnmmear-2023.8.0.14.ear//org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
at deployment.stnmmear-2023.8.0.14.ear//org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
Beta Was this translation helpful? Give feedback.
All reactions