Abstract classes cannot generate instance objects, and spring cannot inject them
Because the principle of spring is to read the configuration file when the server is started, and then use the reflection mechanism to generate a singleton object in the spring context after obtaining the class name. Spring injects properties and maintains the state of the object. The abstract class generates an object by reflection. It has already failed, and the next one will not proceed