- 博客(4)
- 问答 (2)
- 收藏
- 关注
原创 HV000183: Unable to load 'javax.el.ExpressionFactory'. Check that you have the EL dependencies on th
HV000183: Unable to load 'javax.el.ExpressionFactory'. Check that you have the EL dependencies on the classpath, or use ParameterMessageInterpolator instead解决方案:添加依赖<!-- EL Expression --> <de...
2018-06-21 11:14:21 1591
原创 NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/
出现这个问题,是因为配置文件里面同时配有javax.persistence 和 org.hibernate.javax.persistence只需要将第一个配置去掉即可,因为ejb3-persistence.jar是用于JPA1.0的,而ejb3-persistence.jar里面的PersistenceUnitInfo接口没有定义方法 getValidationMode;因此需要将ejb3-pe...
2018-06-21 11:04:57 5648 1
原创 SpringBoot 2.0 thymeleaf layout 模板失效
参考链接:https://blog.csdn.net/oarsman/article/details/79605458问题描述springboot 从1.4升级到2.0,thymeleaf 页面乱掉了正常页面:异常页面解决方案在2.0项目的jar包中,没有thymeleaf-layout-dialect这个jar包,在pom文件中引入即可...
2018-06-14 18:41:53 1668 1
原创 A different object with the same identifier value was already associated with the session
异常信息: A different object with the same identifier value was already associated with the session这个错误的意思就是在Hibernate的session中存在了两个对象去标记同一个实体代码分析:实体创建的代码:由于这些实体都是新创建的,准备新建一批数据记录写入表中,但是由于新建的实体,是游离状态,新建 ne...
2018-06-13 19:55:51 527
空空如也
获取安卓屏幕点击次数
2016-04-17
html中设置了高度的tr如何让里面的列表从tr顶部开始向下列举而不是居中
2015-11-21
TA创建的收藏夹 TA关注的收藏夹
TA关注的人