diff --git a/legend-sdlc-server-shared/pom.xml b/legend-sdlc-server-shared/pom.xml
index 8c505efd09..f189f08d98 100644
--- a/legend-sdlc-server-shared/pom.xml
+++ b/legend-sdlc-server-shared/pom.xml
@@ -158,6 +158,10 @@
com.fasterxml.jackson.jaxrs
jackson-jaxrs-json-provider
+
+ com.fasterxml.jackson.datatype
+ jackson-datatype-jsr310
+
diff --git a/legend-sdlc-server-shared/src/main/java/org/finos/legend/sdlc/server/BaseServerJacksonJsonProvider.java b/legend-sdlc-server-shared/src/main/java/org/finos/legend/sdlc/server/BaseServerJacksonJsonProvider.java
index 3ace2b7450..6934d709a0 100644
--- a/legend-sdlc-server-shared/src/main/java/org/finos/legend/sdlc/server/BaseServerJacksonJsonProvider.java
+++ b/legend-sdlc-server-shared/src/main/java/org/finos/legend/sdlc/server/BaseServerJacksonJsonProvider.java
@@ -16,6 +16,7 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
+import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;
import javax.ws.rs.ext.ContextResolver;
@@ -23,7 +24,7 @@
public class BaseServerJacksonJsonProvider extends JacksonJsonProvider implements ContextResolver
{
private final ObjectMapper objectMapper = new ObjectMapper()
- .findAndRegisterModules()
+ .registerModule(new JavaTimeModule())
.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
@Override
diff --git a/legend-sdlc-server/pom.xml b/legend-sdlc-server/pom.xml
index d905fffa21..933fd4a3d3 100644
--- a/legend-sdlc-server/pom.xml
+++ b/legend-sdlc-server/pom.xml
@@ -177,6 +177,10 @@
+
+ com.fasterxml.jackson.datatype
+ jackson-datatype-jsr310
+
com.google.inject
diff --git a/legend-sdlc-server/src/test/java/org/finos/legend/sdlc/server/LegendSDLCServerForTestJacksonJsonProvider.java b/legend-sdlc-server/src/test/java/org/finos/legend/sdlc/server/LegendSDLCServerForTestJacksonJsonProvider.java
index d0f15680cc..cf2b556d72 100644
--- a/legend-sdlc-server/src/test/java/org/finos/legend/sdlc/server/LegendSDLCServerForTestJacksonJsonProvider.java
+++ b/legend-sdlc-server/src/test/java/org/finos/legend/sdlc/server/LegendSDLCServerForTestJacksonJsonProvider.java
@@ -16,6 +16,7 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
+import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;
import org.finos.legend.sdlc.domain.model.entity.Entity;
import org.finos.legend.sdlc.domain.model.project.Project;
@@ -33,7 +34,7 @@
public class LegendSDLCServerForTestJacksonJsonProvider extends JacksonJsonProvider implements ContextResolver
{
private final ObjectMapper objectMapper = new ObjectMapper()
- .findAndRegisterModules()
+ .registerModule(new JavaTimeModule())
.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
.addMixIn(Project.class, InMemoryMixins.Project.class)
.addMixIn(Workspace.class, InMemoryMixins.Workspace.class)
diff --git a/legend-sdlc-server/src/test/java/org/finos/legend/sdlc/server/resources/SDLCServerClientRule.java b/legend-sdlc-server/src/test/java/org/finos/legend/sdlc/server/resources/SDLCServerClientRule.java
index aecfcb8829..c78ef2fcf4 100644
--- a/legend-sdlc-server/src/test/java/org/finos/legend/sdlc/server/resources/SDLCServerClientRule.java
+++ b/legend-sdlc-server/src/test/java/org/finos/legend/sdlc/server/resources/SDLCServerClientRule.java
@@ -17,6 +17,7 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
+import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;
import org.finos.legend.sdlc.domain.model.entity.Entity;
import org.finos.legend.sdlc.domain.model.project.Project;
@@ -74,7 +75,7 @@ private Client createClient()
static class SDLCServerClientRuleJacksonJsonProvider extends JacksonJsonProvider implements ContextResolver
{
private final ObjectMapper objectMapper = new ObjectMapper()
- .findAndRegisterModules()
+ .registerModule(new JavaTimeModule())
.enable(SerializationFeature.INDENT_OUTPUT)
.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
.setSerializationInclusion(JsonInclude.Include.NON_NULL)
diff --git a/pom.xml b/pom.xml
index cf03c76366..4e8163299f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -832,6 +832,11 @@
${legend.engine.version}
+
+ com.fasterxml.jackson.datatype
+ jackson-datatype-jsr310
+ ${jackson.version}
+
com.fasterxml.jackson.core
jackson-annotations