- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 Spring4+Hibernate5:报错Cannot unwrap to requested type [javax.sql.DataSource]
使用Spring4+Hibernate5时,如果使用hibernate.cfg.xml配置数据源,则会报错:Cannot unwrap to requested type [javax.sql.DataSource]。具体原因不明有人给出的解释是:thread改成hibernate.current_session_context_class=org.springframework.
2016-03-08 11:41:01
3047
2
原创 错误:Error occured processing XML 'org/springframework/transaction/interceptor/TransactionIn
进行配置时,产生如下错误:Error occured processing XML 'org/springframework/transaction/interceptor/TransactionInterceptor',引入包org.aopalliance
2016-01-21 13:40:37
4951
原创 Struts2 Action类无法获取web表单数据
输入数据提交后,Console有错误信息如下:Unexpected Exception caught setting 'username' on 'class com.sun.proxy.$Proxy33: Error setting expression 'username' with value ['sdf', ]原因:将loginAction及Service写在一起,然后在a
2016-01-11 09:00:15
636
原创 Spring4+Struts2+Hibernate5报错:Access denied for user 'root'@'localhost' (using password: YES)
输入用户名、密码后报错,原因为:配置文件applicationContext.xml中<property name="password"value="{jdbc.password}">value忘记输入$符号!具体报错信息如下:Struts Problem ReportStruts has detected an unhandle
2015-12-21 10:43:36
1915
原创 Spring4+Struts2+Hibernate5报错:Unable to load configuration. - action -
原因:未引入包\struts2-spring-plugin-2.3.24.1.jar报错信息如下:十二月 20, 2015 10:52:12 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Contex
2015-12-20 23:18:07
1462
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人