Updated versions

This commit is contained in:
Glenn Renfro
2020-12-11 11:53:07 -05:00
parent 055be11ee5
commit f0cb784f7d
8 changed files with 12 additions and 11 deletions

View File

@@ -23,6 +23,7 @@ $ ./mvnw clean install
[source,java,indent=2]
----
@SpringBootApplication
@EnableTask
public class MyApp {
@Bean
@@ -34,10 +35,10 @@ public class MyApp {
SpringApplication.run(MyApp.class);
}
public static class MyTaskApplication implements CommandLineRunner {
public static class MyTaskApplication implements ApplicationRunner {
@Override
public void run(String... strings) throws Exception {
public void run(ApplicationArguments args) throws Exception {
System.out.println("Hello World");
}
}