spring遇到的一个报错(nested exception is java.lang.InstantiationException)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘baseDAO’ defined in class path resource [spring-base.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zking.login.base.dao.BaseDao]: Is it an abstract class?; nested exception is java.lang.InstantiationException
因为用了“abstract ”导致Spring不能实例化成功
public abstract class UserLoginDAOImpl extends BaseDAO implements IUserLoginDAO