We can’t use @Autowired on a constructor of an abstract class. Spring doesn’t evaluate the @Autowired annotation on a constructor of an abstract class. The subclass should provide the necessary arguments to the super constructor.
We can’t use @Autowired on a constructor of an abstract class. Spring doesn’t evaluate the @Autowired annotation on a constructor of an abstract class. The subclass should provide the necessary arguments to the super constructor.