@農(nóng)夫三拳有點疼 Exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException:
### Error querying database. Cause: java.sql.SQLException: ORA-00933: SQL 命令未正確結(jié)束
### The error may exist in file [C:\Users\lenovo\IdeaProjects\StudentManager-SSM-master\target\StudentManagerSSM-1.0-SNAPSHOT\WEB-INF\classes\mapper\StudentDao.xml]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: SELECT * FROM student ORDER BY student_id desc limit ?, ?
### Cause: java.sql.SQLException: ORA-00933: SQL 命令未正確結(jié)束
; bad SQL grammar []; nested exception is java.sql.SQLException: ORA-00933: SQL 命令未正確結(jié)束
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
Root Cause
學生管理系統(tǒng)(SSM簡易版)總結(jié)之前用 Servlet + JSP 實現(xiàn)了一個簡易版的學生管理系統(tǒng)逾滥,在學習了 SSM 框架之后,我們來對之前寫過的項目重構(gòu)一下败匹! 技術(shù)準備 為了完成這個項目寨昙,需要掌握如下技術(shù)...