Skip to content

Commit 317a78f

Browse files
committed
Merge pull request #43614 from quaff
* pr/43614: Update copyright year of changed file Make application main class explicit in usage help Closes gh-43614
2 parents 3df7c83 + b071190 commit 317a78f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplicationAotProcessor.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -66,7 +66,7 @@ protected GenericApplicationContext prepareApplicationContext(Class<?> applicati
6666
public static void main(String[] args) throws Exception {
6767
int requiredArgs = 6;
6868
Assert.isTrue(args.length >= requiredArgs, () -> "Usage: " + SpringApplicationAotProcessor.class.getName()
69-
+ " <applicationName> <sourceOutput> <resourceOutput> <classOutput> <groupId> <artifactId> <originalArgs...>");
69+
+ " <applicationMainClass> <sourceOutput> <resourceOutput> <classOutput> <groupId> <artifactId> <originalArgs...>");
7070
Class<?> application = Class.forName(args[0]);
7171
Settings settings = Settings.builder()
7272
.sourceOutput(Paths.get(args[1]))

0 commit comments

Comments
 (0)