请教Spring中@Repository注解的问题
@Repository("businessDao")
public class BusinessDao extends BasicDao implements IBusinessDao {
.....
}
在MyEclipse中@Repository("businessDao")这里的businessDao始终划红线,并提示:
The attribute value is undefined for the annotation type Repository
请问这是为什么呢?