You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying out the new AOT feature in Spring Boot 3.0.0 GA. We're using the 3rd Party LogstashTcpSocketAppender in order to log JSON to a socket. This works fine when doing an old school Maven build. When using the new execution goal process-aot however, the build fails with the following error message:
Exception in thread "main" java.lang.IllegalStateException: Invalid class name '[Ljava.net.InetSocketAddress;'
at org.springframework.aot.hint.SimpleTypeReference.of(SimpleTypeReference.java:47)
at org.springframework.aot.hint.TypeReference.of(TypeReference.java:84)
at org.springframework.boot.logging.logback.SpringBootJoranConfigurator$ModelWriter.lambda$writeTo$0(SpringBootJoranConfigurator.java:175)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.logging.logback.SpringBootJoranConfigurator$ModelWriter.writeTo(SpringBootJoranConfigurator.java:174)
at org.springframework.boot.logging.logback.SpringBootJoranConfigurator$LogbackConfigurationAotContribution.applyTo(SpringBootJoranConfigurator.java:142)
at org.springframework.context.aot.BeanFactoryInitializationAotContributions.applyTo(BeanFactoryInitializationAotContributions.java:78)
at org.springframework.context.aot.ApplicationContextAotGenerator.lambda$processAheadOfTime$0(ApplicationContextAotGenerator.java:58)
at org.springframework.context.aot.ApplicationContextAotGenerator.withCglibClassHandler(ApplicationContextAotGenerator.java:67)
at org.springframework.context.aot.ApplicationContextAotGenerator.processAheadOfTime(ApplicationContextAotGenerator.java:53)
at org.springframework.context.aot.ContextAotProcessor.performAotProcessing(ContextAotProcessor.java:106)
at org.springframework.context.aot.ContextAotProcessor.doProcess(ContextAotProcessor.java:84)
at org.springframework.context.aot.ContextAotProcessor.doProcess(ContextAotProcessor.java:49)
at org.springframework.context.aot.AbstractAotProcessor.process(AbstractAotProcessor.java:82)
at org.springframework.boot.SpringApplicationAotProcessor.main(SpringApplicationAotProcessor.java:76)
I'm trying out the new AOT feature in Spring Boot 3.0.0 GA. We're using the 3rd Party
LogstashTcpSocketAppender
in order to log JSON to a socket. This works fine when doing an old school Maven build. When using the new execution goal process-aot however, the build fails with the following error message:Our logging config is as follows:
I've attached a small sample application that reproduces the problem.
test.zip
The text was updated successfully, but these errors were encountered: