diff --git a/src/main/java/org/axonframework/springboot/aot/AxonRuntimeHints.java b/src/main/java/org/axonframework/springboot/aot/AxonRuntimeHints.java index 74331e2..d079bd6 100644 --- a/src/main/java/org/axonframework/springboot/aot/AxonRuntimeHints.java +++ b/src/main/java/org/axonframework/springboot/aot/AxonRuntimeHints.java @@ -69,7 +69,7 @@ public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) private void registerGrpcHints(ReflectionHints hints) { hints.registerType( TypeReference.of("io.netty.channel.epoll.EpollChannelOption"), - MemberCategory.DECLARED_FIELDS); + MemberCategory.PUBLIC_FIELDS); } private Type[] axonSerializableClasses() {