java.lang.NoSuchMethodException: .()

严重: Servlet.service() for servlet [springmvc] in context with path [/SpringMvc-1] threw exception [Request processing failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [cn.wth.base.Bean.Pojo.User]: No default constructor found; nested exception is java.lang.NoSuchMethodException: cn.wth.base.Bean.Pojo.User.<init>()] with root cause
java.lang.NoSuchMethodException: cn.wth.base.Bean.Pojo.User.<init>()

因为User类中缺少无参构造方法导致的

上一篇:程序员的快速开发框架:Github上 10 大优秀的开源后台控制面板


下一篇:BZOJ5415[Noi2018]归程——kruskal重构树+倍增+堆优化dijkstra