SSM异常集
文章平均质量分 91
经常使用SSM,因为自己的粗心,经常出现小异常
Yvette_QIU
这类职业技术迭代的太快了,只能每天学学学,更新自己知识库,丰富自己,从小白变。。。。
展开
-
SSM时遇到的异常(12)——java.lang.reflect.UndeclaredThrowableException【java.sql.SQLException: 无法转换为内部表示】
SSM+Bootstrap+Tomcat8.5+Eclipse+JDK1.82019-08-06 14:48:59 DEBUG [com.alibaba.druid.pool.PreparedStatementPool:160]- {conn-10001, pstmt-20005} exit cache2019-08-06 14:48:59 DEBUG [com.github.miemi...原创 2019-08-06 16:14:33 · 2439 阅读 · 0 评论 -
SSM时遇到的异常(11)——IllegalStateException: Optional int parameter 'id' is present but cannot be translate
JDK1.7+Tomcat7.0+Eclipse+SSM+Bootstrap(含Bootstrap Table)严重: Servlet.service() for servlet [SpringMVC] in context with path [/HTGlory] threw exception [Request processing failed; nested exception i...原创 2019-03-21 14:16:28 · 1398 阅读 · 0 评论 -
SSM时遇到的异常(10)——...Cause: ...ClassCastException: java.lang.String cannot be cast to java.lang.Integer
JDK1.7+Tomcat7.0+Eclipse+SSM+Bootstrap(含Bootstrap Table)三月 07, 2019 8:56:18 下午 org.apache.catalina.core.StandardWrapperValve invoke严重: Servlet.service() for servlet [SpringMVC] in context with ...原创 2019-03-07 21:13:00 · 1805 阅读 · 1 评论 -
SSM时遇到的异常(9)——BeanDefinitionStoreException:..xsh.X.JobService与llf.X.JobService
JDK1.7+Tomcat7.0+Eclipse+SSM+Bootstrap(含Bootstrap Table)org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [F:\ALL_Course\10Activi...原创 2019-03-07 20:54:37 · 225 阅读 · 0 评论 -
SSM时遇到的异常(8)——IllegalArgumentException: Result Maps collection already contains value...DAO.mapper
JDK1.7+Tomcat7.0+Eclipse+SSM+Bootstrap(含Bootstrap Table)严重: Servlet /HTGlory threw load() exceptionjava.lang.IllegalArgumentException: Result Maps collection already contains value for com.ht.qyf...原创 2019-03-06 21:13:25 · 802 阅读 · 0 评论 -
SSM时遇到的异常(7)——BadSqlGrammarException:MySQLSyntaxErrorException: You have... in your SQL syntax[分页问题]
JDK1.7+Tomcat7.0+SSM+Eclipse严重: Servlet.service() for servlet [SpringMVC] in context with path [/MVCQ] threw exception [Request processing failed; nested exception is org.springframework.jdbc.Bad...原创 2019-01-07 16:32:22 · 893 阅读 · 0 评论 -
SSM时遇到的异常(6)下——SSM的400错误(定义与获取Cookie)
JDK1.7+Tomcat7.0+Eclipse+SSM了解:400当我在URL栏填写后按"回车键"后,页面报错:400,但是Eclipse的控制台没有报异常!!!! 原因:index2()方法的参数使用了注解@CookieValue(),而注解获取的值为空,导致返回不到页面的输入框1、我的“Cookie”相关的代码我的EmpVo:我的EmpService,...原创 2019-01-09 15:17:18 · 1308 阅读 · 0 评论 -
SSM时遇到的异常(6)上——SSM的400错误(有关于int与integer区别分享)
JDK1.7+Tomcat7.0+Eclipse+SSM当我点击""查询""按钮后,页面报错:400,但是Eclipse的控制台没有报异常!!!!参考(1)HTTP 400 错误 - 请求无效 (Bad request)(2)400(HTTP状态码)_百度百科 扩展:404页面原因,主要跟Spring MVC、整型类型有关(懂还是...原创 2019-01-04 18:22:57 · 2661 阅读 · 0 评论 -
SSM时遇到的异常(5)——TooManyResultsException: Expected one result (or null) to be returned by selectOne(),
JDK1.7+Tomcat7.0+Eclipse+SSM 严重: Servlet.service() for servlet [SpringMVC] in context with path [/MVCQ] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSys...原创 2019-01-04 15:07:02 · 5647 阅读 · 0 评论 -
SSM时遇到的异常(4)——ServletException: Servlet.init() for...或BeanCreationException: Error或IllegalStateExce
JDK1.7+Tomcat7.0 +Eclipse+SSM一月 01, 2019 12:54:42 下午 org.apache.catalina.core.ApplicationContext log信息: Initializing Spring FrameworkServlet 'SpringMVC'一月 01, 2019 12:54:43 下午 org.apache.catalin...原创 2019-01-01 13:19:33 · 577 阅读 · 0 评论 -
SSM时遇到的异常(3)——IllegalStateException: Neither BindingResul..plain target object for bean ..'command'
JDK1.7+Tomcat7.0+Eclipse+SSM十二月 27, 2018 9:01:00 下午 org.apache.catalina.core.ApplicationDispatcher invoke严重: Servlet.service() for servlet jsp threw exceptionjava.lang.IllegalStateException: Nei...原创 2018-12-28 15:17:13 · 1199 阅读 · 0 评论 -
SSM时遇到的异常(2)——BeanCreationException: Error creating bean with name 'empController'
JDK1.7+Tomcat7.0 +Eclipse+SSM十二月 27, 2018 2:22:43 下午 org.apache.catalina.core.ApplicationContext log严重: StandardWrapper.Throwableorg.springframework.beans.factory.BeanCreationException: Error cre...原创 2018-12-27 14:48:36 · 6880 阅读 · 0 评论 -
SSM时遇到的异常(1)——BeanCreationException: ... with name 'sqlSessionFactory[StandardWrapper.Throwable]
JDK1.7+Tomcat7.0+Eclipse+SSM①十二月 27, 2018 8:13:33 上午 org.apache.catalina.core.ApplicationContext log严重: StandardWrapper.Throwableorg.springframework.beans.factory.BeanCreationException: Error ...原创 2018-12-27 14:53:18 · 3130 阅读 · 0 评论