Browse Source

Merge branch '3.0.x' into 3.1.x

Closes gh-38271
pull/38706/head
Phillip Webb 2 years ago
parent
commit
445d0a22db
  1. 1
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc

1
spring-boot-project/spring-boot-docs/src/docs/asciidoc/getting-started/first-application.adoc

@ -250,6 +250,7 @@ If you run `gradle dependencies` again, you see that there are now a number of a @@ -250,6 +250,7 @@ If you run `gradle dependencies` 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 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:
[chomp_package_replacement=com.example]
include::code:MyApplication[]
Although there is not much code here, quite a lot is going on.

Loading…
Cancel
Save