diff --git a/spring-bootstrap-cli/samples/app.groovy b/spring-bootstrap-cli/samples/app.groovy index 6db47574af3..2e66b62f00a 100644 --- a/spring-bootstrap-cli/samples/app.groovy +++ b/spring-bootstrap-cli/samples/app.groovy @@ -1,9 +1,9 @@ package org.test @Component -class Example implements org.springframework.bootstrap.CommandLineRunner { +class Example implements CommandLineRunner { - @org.springframework.beans.factory.annotation.Autowired + @Autowired private MyService myService; public void run(String... args) {