Home > Back-end >  SPRINGBOOT inject is NULL
SPRINGBOOT inject is NULL

Time:05-18


The abstract class A {
The @autowired
Protected ServiceExample se;
Private String s=new String ();

}

@ Service
Class B extends A {

}


The injection of B class instance failure, what reason is this? How to change?
  • Related