diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/AotProcessor.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/AotProcessor.java index f92d11fff8..137fe7d1b7 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/AotProcessor.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/AotProcessor.java @@ -95,7 +95,7 @@ public class AotProcessor { /** * Trigger the processing of the application managed by this instance. */ - public void process() throws IOException { + public void process() { deleteExistingOutput(); AotProcessorHook hook = new AotProcessorHook(); SpringApplicationHooks.withHook(hook, this::callApplicationMainMethod); @@ -136,7 +136,7 @@ public class AotProcessor { } } - private void performAotProcessing(GenericApplicationContext applicationContext) throws IOException { + private void performAotProcessing(GenericApplicationContext applicationContext) { FileSystemGeneratedFiles generatedFiles = new FileSystemGeneratedFiles(this::getRoot); DefaultGenerationContext generationContext = new DefaultGenerationContext( new ClassNameGenerator(this.application), generatedFiles);