EPMS
EPMS copied to clipboard
登陆之后页面没有跳转
作者你好,我按照你给的使用说明运行成功了,数据库也建立了,但是登录成功之后页面没有跳转,后台报了一个这样的错误:

Exception in thread "AWT-EventQueue-0" org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
at org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:71)
at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:797)
at dao.DeptDao.findDeptById(DeptDao.java:18)
at view.MainFrame.initialize(MainFrame.java:496)
at view.MainFrame.
qq2221999792
作者你好,我按照你给的使用说明运行成功了,数据库也建立了,但是登录成功之后页面没有跳转,后台报了一个这样的错误: Exception in thread "AWT-EventQueue-0" org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0 at org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:71) at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:797) at dao.DeptDao.findDeptById(DeptDao.java:18) at view.MainFrame.initialize(MainFrame.java:496) at view.MainFrame.(MainFrame.java:118) ..... 能帮帮我看一下什么原因吗?谢谢