运行报错:
Parameter 0 of constructor in com.xxx.Crawler required a bean of type 'java.lang.String' that could not be found.
修复方案:
添加一个默认的无参构造器在类中,如:
public Crawler(){super("logs", false);}
时间:2019-10-08 11:28:52
运行报错:
Parameter 0 of constructor in com.xxx.Crawler required a bean of type 'java.lang.String' that could not be found.
修复方案:
添加一个默认的无参构造器在类中,如:
public Crawler(){super("logs", false);}