HTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrjava.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 14:17:25

HTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrjava.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
HTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.BadSqlGr
java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Table='D05MSYear', OrderIndex=0, TimeTag_zh_CN='' where ID = 110' at line 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2921)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2978)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2902)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:930)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1159)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1076)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1061)
at org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:824)
at org.springframework.jdbc.core.JdbcTemplate$2.doInPreparedStatement(JdbcTemplate.java:818)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:589)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:818)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:874)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:882)
at hoss.dao.TimeStepJDBC.updateOne(TimeStepJDBC.java:62)
at hoss.web.admTimeStepCtrl.addEdit(admTimeStepCtrl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)

HTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrjava.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
仔细检查一下你的sql语句,看看引号,以及字段名字和表名是否书写正确了

HTTP Status 500 - 急 HTTP Status 500 - 我刚开始学jsp 请问:HTTP Status 500 - 出现问题的页面提示如下:HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server HTTP Status 500 - 如何处理好麻烦,总出现,还有, HTTP Status 500 - 如何解决HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling thi HTTP Status 500 错误HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this reques http status 500 是什么错误HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling th HTTP Status 404 - / 是什么错误呀这是什么错,如何改呀,帮我改成功可以给你500积分 HTTP Status 404 - /BookStore--------------------------------------------------------------------------------type Status reportmessage /BookStoredescription The requested resource (/BookStore) is not available.----------------------------------------- HTTP Status 503 - This application is not currently available HTTP Status 403 - request denied!illegal user request什么意思 Status Status status status 英语翻译HTTP Status 500 - ________________________________________type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception javax.servlet.ServletException:Cannot HTTP Status 404 - /lib/--------------------------------------------------------------------------------type Status reportmessage /lib/description The requested resource (/lib/) is not available.这是什么错误? JSP页面报错,HTTP Status 503 - This application is not currently available 英语翻译This is an HTTP status line.Every HTTP response starts with a status line.The status line consists of the HTTP version,a status code,and a reason phrase.The HTTP response code 200 means everything was fine; that is why Tomcatincluded the