diff --git a/jsonb/src/main/java/io/avaje/jsonb/core/CoreAdapterBuilder.java b/jsonb/src/main/java/io/avaje/jsonb/core/CoreAdapterBuilder.java index 4b1d8de2..a9d40f4b 100644 --- a/jsonb/src/main/java/io/avaje/jsonb/core/CoreAdapterBuilder.java +++ b/jsonb/src/main/java/io/avaje/jsonb/core/CoreAdapterBuilder.java @@ -110,7 +110,10 @@ private JsonAdapter lookupAdapter(Type type, Object cacheKey, boolean thr + type + "\nPossible Causes: \n" + "1. Missing @Json or @Json.Import annotation.\n" - + "2. The avaje-jsonb-generator dependency was not available during compilation\n"); + + "2. The avaje-jsonb-generator dependency was not available during compilation" + + (Runtime.version().feature() >= 23 + ? " or -proc full was not enabled in maven compiler\n" + : "\n")); } return null; // No adapter found } catch (IllegalArgumentException e) {