Bug
DYSLzx
java开发工程师
展开
-
异常: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String
错误信息Error querying database. Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.StringCause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.Stringat org.mybatis.spring.MyBat原创 2020-11-05 19:08:45 · 846 阅读 · 0 评论 -
Exception:There is no getter for property named ‘qo‘ in ‘class cn.xxxxxx.rbac.qo.XxxxQo 的两种错误可能及解决方案
1. 错误信息HTTP Status 500 - Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named ‘qo’ in 'class cn.wolfcode.rbac原创 2020-10-23 22:13:55 · 496 阅读 · 0 评论 -
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 评论 -
Idea 创建maven项目 速度慢的问题
解决方法11.在如下图的界面2.点击右下角的Configure,选择里面的Settings3.找到Runner 中的VM Options 在其中添加-DarchetypeCatalog=internal 点击 Apply再次创建项目的时候就可以以正常的时间创建了.解决方法21.点击 Properties 右边框的 + 添加一个 属性和属性值2.添加的属性为 archetypeCatalog 属性值为 internal 点击 ok 即可.但是此方法为一次性方法,每次创建项目都原创 2020-10-09 22:47:50 · 126 阅读 · 0 评论 -
HTTP Status 500 javax.el.PropertyNotFoundException: 类型[cn.xxxx.xxx.xxx.qo.XxxQo]上找不到属性[sFrom]
错误HTTP Status 500 – Internal Server ErrorType 异常报告消息 在 [108] 行处理 [/WEB-INF/view/worker/list.jsp] 时发生异常105: <div>106: <form action="/KaoShiProject/ToListServlet" id="searchForm" method="post" >107: 关键字: <input t原创 2020-09-28 22:17:33 · 664 阅读 · 0 评论 -
HTTP Status 500 – Internal Server Error Type Expected one result (or null) to be returned...........
错误HTTP Status 500 – Internal Server ErrorType 异常报告消息 Expected one result (or null) to be returned by selectOne(), but found: 8描述 服务器遇到一个意外的情况,阻止它完成请求。Exceptionorg.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be r原创 2020-09-24 18:49:17 · 930 阅读 · 0 评论 -
Java异常:Default constructor cannot handle exception type IOException thrown by implicit super .......
错误描述Default constructor cannot handle exception type IOException thrown by implicit super constructor. Must define an explicit constructor默认构造函数无法处理隐式超级构造函数引发的异常类型IOException。必须定义显式构造函数。错误代码//测试类中private IDpetService service = new DepartmentServiceImp原创 2020-09-23 17:02:49 · 2665 阅读 · 0 评论