问题描述:
org.springframework.beans.BeanInstantiationException: Failed to instantiate [cn.st.domain.User]: No default constructor found; nested exception is java.lang.NoSuchMethodException: cn.st.domain.User.()
解决方法:添加默认构建方法
public User() {
}
问题描述:
org.springframework.beans.BeanInstantiationException: Failed to instantiate [cn.st.domain.User]: No default constructor found; nested exception is java.lang.NoSuchMethodException: cn.st.domain.User.()
解决方法:添加默认构建方法
public User() {
}