From ffc3d0577d56eededcc300a7c9f2f086476b308d Mon Sep 17 00:00:00 2001 From: Rucha Vaikar <70310911+Ru311@users.noreply.github.com> Date: Sun, 26 Jan 2025 21:58:45 +0530 Subject: [PATCH] Update index.adoc Corrected the file path to create the java project from src/main/java/MyApplication.java src/main/java/com/example/MyApplication.java Signed-off-by: Rucha Vaikar <70310911+Ru311@users.noreply.github.com> --- .../antora/modules/tutorial/pages/first-application/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc index 4968142d604b..4672aa25dcfc 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc @@ -285,7 +285,7 @@ If you run `gradle dependencies` again, you see that there are now a number of a == Writing the Code To finish our application, we need to create a single Java file. -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: +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: [chomp_package_replacement=com.example] include-code::MyApplication[]