Skip to content

Commit ff0ca35

Browse files
authored
#3701 Improve error message when missing dependency ebean-jackson-mapper (#3708)
1 parent 0fc9a1a commit ff0ca35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebean-core/src/main/java/io/ebeaninternal/server/type/DefaultTypeManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ private boolean isMapValueTypeObject(Type genericType) {
374374

375375
private ScalarType<?> createJsonObjectMapperType(DeployBeanProperty prop, int dbType, DocPropertyType docType) {
376376
if (jsonMapper == null) {
377-
throw new IllegalArgumentException("Unsupported @DbJson mapping - Jackson ObjectMapper not present for " + prop);
377+
throw new IllegalArgumentException("Unsupported @DbJson mapping - Missing dependency ebean-jackson-mapper? Jackson ObjectMapper not present for " + prop);
378378
}
379379
if (MutationDetection.DEFAULT == prop.getMutationDetection()) {
380380
prop.setMutationDetection(jsonManager.mutationDetection());

0 commit comments

Comments
 (0)