You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Describe the bug
I'm getting error running unit tests:
I believe the issue is due to the

jackson-core
inwebjars-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 inwebjars-locator-core
.Fix is to update
webjars-locator-core
to 0.48.0.The text was updated successfully, but these errors were encountered: