- 博客(4)
- 收藏
- 关注
原创 NoSuchMethodError: org.hibernate.SessionFactory.openSession
NoSuchMethodError: org.hibernate.SessionFactory.openSession —— hibernate3和4搞混了;NoClassDefFoundError: org.hibernate.cache.CacheProvider ——hibernate4里不再有这个类;Position beyond number o
2016-04-29 10:10:23 519
原创 NullPointerException createActionForm ClassNotFoundException ContextLoaderPlugIn
java.lang.NullPointerException org.apache.struts.config.FormBeanConfig.createActionForm ——从字面上看是form建立错误,首先确认struts-config.xml里 中的name和type没有配置错,以及自定义的f
2016-04-27 10:31:55 480
原创 PlatformTransactionManager spring config.xml datasource
PlatformTransactionManager ——在spring-tx-XXX.jar里面Ctrl+Shift+X 变大写 Ctrl+Shift+Y 变小写spring在config.xml里配置datasource的方式 ——1、使用org.springframework.jdbc.datasource.DriverManage
2016-04-19 15:35:22 521
原创 struts1 hibernate el validation 注册登录
1、QuerySyntaxException: unexpected token ——hql语句中where错拼成whrer2、The path of an ForwardConfig cannot be null ——使用了validation的话,struts-config.xml里配置action必须加上input=某页面 ,因为validation验证
2016-04-13 22:47:07 392
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人