Skip to content

jackson-kotlin dependency causes ClassNotFoundException when finding Jackson modules via service loader #11133

Closed
@gbrehmer

Description

@gbrehmer

2.0.0.M6: If I use web-starter and activate findModulesViaServiceLoader on Jackson2ObjectMapperBuilder the application raises an java.lang.ClassNotFoundException: kotlin.jvm.internal.DefaultConstructorMarker on startup.

If I exclude jackson-kotlin dependency from web-starter, the error does not occur.

See example project attached:
sample.zip

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions