From e3210e72d580ba48113501f83aa7547758c55d23 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Tue, 7 Nov 2023 10:36:38 +0100 Subject: [PATCH] Polish "Report friendly error when failing to find AOT initializer" See gh-38188 --- .../org/springframework/boot/SpringApplication.java | 10 ++++------ .../springframework/boot/SpringApplicationTests.java | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java index c94427f05211..1cbd34264655 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java @@ -437,12 +437,10 @@ private void addAotGeneratedInitializerIfNecessary(List