摘要:
解决方法: 1.不用load方法,使用get方法 2.在web.xml添加 openSessionInView org.springframework.orm.hibernate3.support.OpenSessionInViewFilter openSessionInView /*... 阅读全文
摘要:
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [applicationCon... 阅读全文
摘要:
解决办法有两种: 1. 将true设置为true即可解决,实现事务自动提交 org.hibernate.dialect.MySQLDialect true true 2.使用Spring的事务管理 阅读全文
摘要:
建表语句: create table t( id int not null primary key, name varchar(20) not null ); 原因: *.hbm.xml文件中的配置 解决办法: 删除*.hbm.xml文件中的或者改为等。 阅读全文
摘要:
当遇到如下问题: 1.The Network Adapter could not establish the connection 2.ora-01034:oracle not available ora-27101:shared mermory realm does n... 阅读全文
摘要:
2011-9-14 14:19:53 freemarker.log.JDK14LoggerFactory$JDK14Logger error 严重: Method public java.util.List org.apache.struts2.components.Form.getVal... 阅读全文
摘要:
出现如标题所示错误,是因为struts.xml的配置有问题。 把改为 就可以了。 阅读全文
摘要:
The hierarchy of the type My_BeforeMethod_Advice is inconsistent The type org.aopalliance.aop.Advice cannot be resolved. It is indirectly referenced... 阅读全文
摘要:
页面错误提示:org.apache.jasper.JasperException: /struts2/index.jsp(16,3) No tag "datetimepicker" defined in tag library imported with prefix "s" 原因:struts2... 阅读全文
摘要:
字段校验器配置格式: 参数值 .................... 校验失败后的提示信息 ... 阅读全文