Skip to content

Commit

Permalink
Failed to find class com.fasterxml.jackson.databind.ext.CoreXMLSerial…
Browse files Browse the repository at this point in the history
…izers when a POJO has field of type javax.xml.datatype.XMLGregorianCalendar fix quarkusio#37934
  • Loading branch information
ppalaga committed Dec 25, 2023
1 parent 6212935 commit 77dde4e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,13 @@ void register(
"com.fasterxml.jackson.databind.deser.std.DateDeserializers$SqlDateDeserializer",
"com.fasterxml.jackson.databind.deser.std.DateDeserializers$TimestampDeserializer",
"com.fasterxml.jackson.annotation.SimpleObjectIdResolver").methods().build());
reflectiveClass.produce(ReflectiveClassBuildItem.builder("com.fasterxml.jackson.databind.ser.std.ClassSerializer")
.constructors().build());
reflectiveClass.produce(
ReflectiveClassBuildItem.builder(
"com.fasterxml.jackson.databind.ser.std.ClassSerializer",
"com.fasterxml.jackson.databind.ext.CoreXMLSerializers",
"com.fasterxml.jackson.databind.ext.CoreXMLDeserializers")
.constructors()
.build());

if (curateOutcomeBuildItem.getApplicationModel().getDependencies().stream().anyMatch(
x -> x.getGroupId().equals("com.fasterxml.jackson.module")
Expand Down

0 comments on commit 77dde4e

Please sign in to comment.