-
-
Notifications
You must be signed in to change notification settings - Fork 534
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I'm getting error running unit tests:
java.lang.NoClassDefFoundError: com.fasterxml.jackson.core.util.JacksonFeature
at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:673)
at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:576)
at io.swagger.v3.core.util.ObjectMapperFactory.create(ObjectMapperFactory.java:79)
at io.swagger.v3.core.util.ObjectMapperFactory.createJson(ObjectMapperFactory.java:65)
at io.swagger.v3.core.util.Json.mapper(Json.java:13)
at org.springdoc.ui.AbstractSwaggerIndexTransformer.<init>(AbstractSwaggerIndexTransformer.java:86)
at org.springdoc.webmvc.ui.SwaggerIndexPageTransformer.<init>(SwaggerIndexPageTransformer.java:56)
<rest omitted>
I believe the issue is due to the jackson-core
in webjars-locator-core
is overriding its version for everything else:
Per https://fasterxml.github.io/jackson-core/javadoc/2.12/com/fasterxml/jackson/core/util/JacksonFeature.html, JacksonFeature
is added in 2.12.0, which is newer than the version in webjars-locator-core
.
Fix is to update webjars-locator-core
to 0.48.0.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working