Skip to content

Commit 5808a05

Browse files
committed
Merge pull request #43965 from Ru311
* pr/43965: Correct the location of MyApplication.java in the docs Closes gh-43965
2 parents f39fc87 + c699779 commit 5808a05

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ If you run `gradle dependencies` again, you see that there are now a number of a
285285
== Writing the Code
286286

287287
To finish our application, we need to create a single Java file.
288-
By default, Maven and Gradle compile sources from `src/main/java`, so you need to create that directory structure and then add a file named `src/main/java/MyApplication.java` to contain the following code:
288+
By default, Maven and Gradle compile sources from `src/main/java`, so you need to create that directory structure and then add a file named `src/main/java/com/example/MyApplication.java` to contain the following code:
289289

290290
[chomp_package_replacement=com.example]
291291
include-code::MyApplication[]

0 commit comments

Comments
 (0)