Skip to content

Commit

Permalink
Fix package declaration of sample in reference docs
Browse files Browse the repository at this point in the history
Update the "Developing Your First Spring Boot Application" sample so
that the package is not removed.

Closes gh-34513
  • Loading branch information
philwebb committed Nov 8, 2023
1 parent 7c73a03 commit 61dbf45
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ If you run `mvn dependency:tree` again, you see that there are now a number of a
To finish our application, we need to create a single Java file.
By default, Maven compiles 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:

[chomp_package_replacement=com.example]
include::code:MyApplication[]

Although there is not much code here, quite a lot is going on.
Expand Down

0 comments on commit 61dbf45

Please sign in to comment.