spring启动报错 Parameter 0 of method handleEvent in xxx.xxxx
Description:
Parameter 0 of method handleEvent in com.peppa.crm.listener.ticket.ClassFinishListener required a bean of type 'java.lang.String' that could not be found.
Action:
Consider defining a bean of type 'java.lang.String' in your configuration.
代码多了个@Autowired
private CourseService courseService;
@Autowired
@Override
public void handleEvent(final String event) {