springboot start the service error Error creating bean with name 'xxx defined in class path

problem causes:

springboot start classes and classes can not find the corresponding packet

solve: 

Add annotations @ComponentScan ({ "base.test.xxx"}) at application startup class 

Guess you like

Origin blog.csdn.net/vandet100/article/details/86636993
Recommended