I'm using springboot 1.3.8 and I have a @Autowired on a constructor with parameters but I get the error: No default constructor found...
@SpringBootApplication
public class App implements CommandLineRunner {
private ApplicationContext context;
private CLIHelper cliHelper;
@Autowired
public App(ApplicationContext context, CLIHelper cliHelper) {
this.context = context;
this.cliHelper = cliHelper;
}
public static void main(String[] args) {
SpringApplication.run(App.class, args);
}
}