java.lang.NoSuchMethodException: cn.itcast.service.impl.BaseServiceImpl.()

java.lang.NoSuchMethodException: cn.itcast.service.impl.BaseServiceImpl.()

今天第一个bug

我看了一下自己写的代码原因好像是int参数构造注入时和set注入发生了冲突,导致于测试类找不到配置文件中的相应属性值

java.lang.NoSuchMethodException: cn.itcast.service.impl.BaseServiceImpl.()