2016-09-14 17:39

@JFinal 那这个如何启动呢

2016-09-14 17:31

java.lang.NullPointerException

at com.jfinal.plugin.activerecord.Model.find(Model.java:457)

at com.jfinal.plugin.activerecord.Model.findFirst(Model.java:484)

at org.aish.orm.model.SysUser.getByName(SysUser.java:47)

at org.aish.admin.controller.IndexController.login(IndexController.java:38)

2016-09-14 17:30

@JFinal SysUser user = dao.findFirst("select * from sys_user where username=?", username);这行有问题不知道为什么有问题

2016-09-14 17:30

@IvyHelen SysUser user = dao.findFirst("select * from sys_user where username=?", username);这行有问题不知道为什么有问题

2016-09-14 15:57