Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: graal error for private @Property
Changes to inject @Property(name = "logger.config") via constructor injection. Graal 22.3 and Micronaut 3.8.0 was throwing: ``` Caused by: java.lang.NoSuchFieldError: No field 'logbackXmlLocation' found for type: io.micronaut.management.endpoint.loggers.impl.LogbackLoggingSystem 195 at io.micronaut.core.reflect.ReflectionUtils.lambda$getRequiredField$2(ReflectionUtils.java:294) 196 at java.base@17.0.5/java.util.Optional.orElseThrow(Optional.java:403) 197 at io.micronaut.core.reflect.ReflectionUtils.getRequiredField(ReflectionUtils.java:294) 198 at io.micronaut.context.AbstractInitializableBeanDefinition.setFieldWithReflection(AbstractInitializableBeanDefinition.java:979) 199 ... 113 common frames omitted ```
- Loading branch information
Showing
2 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters