![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ssm框架
DYSLzx
java开发工程师
展开
-
SSM框架 简单 CRUD 过程中遇到的错误, 第一次访问列表页面 (list.jsp) 无法显示数据, 点击查询按钮,或者是更改查询信息再次提交后就可以显示全部列表信息了
1. 错误信息并不会在控制台或者是,编译软件中抛出异常,只是第一次访问列表(list.jsp)界面时,获取的数据是0条,当再次点击查询的时候就显示正常了.正常页面2. 错误页面但是只要点击一下查询按钮就可以正常查询, 其他的功能也没有被影响.3. 错误代码public class OwnerQo { private Long id; //错误点 private int plotId; private int currentPage=1;原创 2020-10-22 21:48:59 · 459 阅读 · 0 评论 -
BUG : HTTP Status 500 - Request Parameter ‘xxxxXxx‘ not found. Available parameters are [qo, param1]
错误信息HTTP Status 500 - Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter ‘plotId’ not found. Available parameters are [qo, param1]type Except原创 2020-10-22 20:37:28 · 226 阅读 · 0 评论 -
test 方法运行时出现的错误 : java.lang.IllegalStateException: Failed to load ApplicationContext
错误信息java.lang.IllegalStateException: Failed to load ApplicationContextat org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132)at org.springframework.test.context.suppor原创 2020-10-20 20:39:43 · 722 阅读 · 0 评论 -
错误 : java.lang.IllegalStateException: Mapping is missing column attribute for property dept
1. 错误背景在SSM框架的使用过程中,书写mapper.xml文件的过程中出现的低级错误 .2. 错误信息java.lang.IllegalStateException: Mapping is missing column attribute for property deptorg.apache.ibatis.mapping.ResultMappingBuilder.validate(ResultMapping.java:155)org.apache.ibatis.mapping.Resul原创 2020-10-19 18:41:05 · 6278 阅读 · 0 评论