Home / Class/ AotInitializerNotFoundFailureAnalyzer Class — spring-boot Architecture

AotInitializerNotFoundFailureAnalyzer Class — spring-boot Architecture

Architecture documentation for the AotInitializerNotFoundFailureAnalyzer class in AotInitializerNotFoundFailureAnalyzer.java from the spring-boot codebase.

Entity Profile

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/AotInitializerNotFoundFailureAnalyzer.java lines 29–40

class AotInitializerNotFoundFailureAnalyzer extends AbstractFailureAnalyzer<AotInitializerNotFoundException> {

	@Override
	protected FailureAnalysis analyze(Throwable rootFailure, AotInitializerNotFoundException cause) {
		return new FailureAnalysis(cause.getMessage(), "Consider the following:\n"
				+ "\tDid you build the application with enabled AOT processing?\n"
				+ "\tIs the main class %s correct?\n".formatted(cause.getMainClass().getName())
				+ "\tIf you want to run the application in regular mode, remove the system property 'spring.aot.enabled'",
				cause);
	}

}

Domain

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free