随笔 - 475,  文章 - 0,  评论 - 66,  阅读 - 396万
09 2019 档案
完美解决: org.apache.ibatis.binding.BindingException Invalid bound statement (not found)
摘要:异常描述: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 原因: springboot整合mybatis, 在编译时, 如果不添加此节点mybatis的mapper.xml文件都会被漏掉 阅读全文
posted @ 2019-09-29 11:15 锋齐叶落 阅读(16046) 评论(0) 推荐(0) 编辑
启动项目报错:Unsupported major.minor version 52.0
摘要:解决方案: 确保Build Path或者电脑配置的环境变量版本号,和pom中的一致 Exception in thread "main" java.lang.UnsupportedClassVersionError: com/demo/pringboot/Application : Unsuppor 阅读全文
posted @ 2019-09-11 16:25 锋齐叶落 阅读(1177) 评论(0) 推荐(0) 编辑
hibernate如何配置自动生成表
摘要:hibernate自动生成表有两种方法:1.直接写代码,通过方法来创建数据库表。2.通过 hibernate.cfg.xml配置标签来创建数据表。下面依次实现:1.直接写代码,通过方法来创建数据库表。建立一个测试类,来测试是否能够生成表。不过在执行该类之前,需要手动在数据库中建立相应的数据库,数据库 阅读全文
posted @ 2019-09-10 15:42 锋齐叶落 阅读(2894) 评论(0) 推荐(0) 编辑
rg.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session:
摘要:原先跑TEST CASE的时候没有出错 但是跑到整个程序里面,除了这个问题, 网上也找了下资料,说是用merge之类的可以解决,因为你这个update的obj和session里面的不用,所以导致此问题。 突然石化~~~想到session~~~想到TESTcase的时候没有用事物aop所以每个方法都是 阅读全文
posted @ 2019-09-09 09:52 锋齐叶落 阅读(272) 评论(0) 推荐(0) 编辑
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
摘要:编程中遇到:org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files dep 阅读全文
posted @ 2019-09-03 14:42 锋齐叶落 阅读(2106) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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