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
614
614
return "Hello World!";
615
615
}
616
616
617
- public static void main(String[] args) throws Exception {
617
+ public static void main(String[] args) {
618
618
SpringApplication.run(Example.class, args);
619
619
}
620
620
Original file line number Diff line number Diff line change @@ -3080,7 +3080,7 @@ following example:
3080
3080
return application.sources(Application.class);
3081
3081
}
3082
3082
3083
- public static void main(String[] args) throws Exception {
3083
+ public static void main(String[] args) {
3084
3084
SpringApplication.run(Application.class, args);
3085
3085
}
3086
3086
You can’t perform that action at this time.
0 commit comments