随笔分类 -  报错

摘要:因为 实体类中的主键 是String类型 不能自动为其分配id 所以需要手动设置在service层 model.setId(UUID.randomUUID().toString()); 阅读全文
posted @ 2018-06-17 22:48 阿善9 阅读(284) 评论(0) 推荐(0) 编辑
摘要:控制台不报错 可能是注解都写了 但是Action-Service-dao 没通到最后 阅读全文
posted @ 2018-06-17 20:43 阿善9 阅读(134) 评论(0) 推荐(0) 编辑
摘要:No qualifying bean of type [cn.itcast.bos.web.service.base.CourierService] found for dependency: expected at least 1 bean which qualifies as autowire 阅读全文
posted @ 2018-06-15 21:30 阿善9 阅读(233) 评论(0) 推荐(0) 编辑
摘要:ORA-00001: 违反唯一约束条件 --解决方法 ORA-00001: 违反唯一约束条件 --解决方法 2017年07月27日 12:04:11 阅读数:11853 2017年07月27日 12:04:11 阅读数:11853 阅读数:11853 1、错误 Caused by: java.sql 阅读全文
posted @ 2018-06-14 19:39 阿善9 阅读(256) 评论(0) 推荐(0) 编辑
摘要:解决 @scope(多例) 这是因为造成线程并发访问不安全 阅读全文
posted @ 2018-05-31 08:38 阿善9 阅读(112) 评论(0) 推荐(0) 编辑
摘要:原因:jar包冲突 阅读全文
posted @ 2018-05-30 20:54 阿善9 阅读(276) 评论(0) 推荐(0) 编辑
摘要:解决方法: 关闭正在运行的myeclipse,然后打开myeclipse安装路径(我的安装在c盘): c:\ProgramFiles\MyEclipse\MyEclipse Professional 2014\configuration 将org.eclipse.update文件夹删除,重新启动my 阅读全文
posted @ 2018-05-28 15:41 阿善9 阅读(471) 评论(0) 推荐(0) 编辑
摘要:原因: @serice("customerService") 和@Repository(value="customerDao") 解决: 直接@serice 和 @Repository严重: Exception sending context initialized event to listene 阅读全文
posted @ 2018-05-27 18:05 阿善9 阅读(455) 评论(0) 推荐(0) 编辑
摘要:java.lang.NullPointerException at com.itheima.test.Test2.fun1(Test2.java:18) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.ref 阅读全文
posted @ 2018-05-24 16:27 阿善9 阅读(385) 评论(0) 推荐(0) 编辑
摘要:@Test报堆栈溢出, 在main中报错toString 阅读全文
posted @ 2018-05-12 20:10 阿善9 阅读(228) 评论(0) 推荐(0) 编辑
摘要:17:51:45,580 ERROR SqlExceptionHelper:129 - Column 'lkm_cust_id' cannot be nullorg.hibernate.exception.ConstraintViolationException: could not execute 阅读全文
posted @ 2018-05-12 17:54 阿善9 阅读(213) 评论(0) 推荐(0) 编辑
摘要:日期类型转换不了json格式数据 json转换数据的时候可以设置某个字段不需要转换 jsonconfig=new JsonConfig() //{} 内传入不需要转换的字段 jsonconfig.setexcludes(new String{"pdata"}) jsonObject.fromObje 阅读全文
posted @ 2018-05-07 15:39 阿善9 阅读(311) 评论(0) 推荐(0) 编辑
摘要:可能是jar包缺少 阅读全文
posted @ 2018-05-04 09:13 阿善9 阅读(107) 评论(0) 推荐(0) 编辑
摘要:空指针 未初始化 在实体类中定义的方法 变量未初始化 阅读全文
posted @ 2018-05-03 22:19 阿善9 阅读(104) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示