File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
spring-boot-project/spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -614,7 +614,7 @@ then add a file named `src/main/java/Example.java` to contain the following code
614614 return "Hello World!";
615615 }
616616
617- public static void main(String[] args) throws Exception {
617+ public static void main(String[] args) {
618618 SpringApplication.run(Example.class, args);
619619 }
620620
Original file line number Diff line number Diff line change @@ -3080,7 +3080,7 @@ following example:
30803080 return application.sources(Application.class);
30813081 }
30823082
3083- public static void main(String[] args) throws Exception {
3083+ public static void main(String[] args) {
30843084 SpringApplication.run(Application.class, args);
30853085 }
30863086
You can’t perform that action at this time.
0 commit comments