ssh
文章平均质量分 77
Geven7
每週都有星期柒~
展开
-
org.springframework.beans.factory.BeanCreationException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [com/springContext-xxx.xml]: Invocation of init method failed; ne...原创 2012-08-20 17:25:52 · 78 阅读 · 0 评论 -
ognl.MethodFailedException: Method "setXxx" failed for object 集結
(1)just change the logging level. 改變日誌等級 log4j.properties: # Struts OgnlUtil issues unimportant warnings log4j.logger.com.opensymphony.xwork2.util.OgnlUtil=error log4j.logger.com.opensymp...原创 2012-10-15 11:45:36 · 227 阅读 · 0 评论 -
hibernate配置二级缓存出现的问题
(1)解决方案:少了commons-logging-1.1.1.jar这个包了Exception in thread "main" java.lang.ExceptionInInitializerErrorat cn.sjg.hibernate.CacheTest.addUser(CacheTest.java:32)at cn.sjg.hibernate.CacheTest...原创 2012-10-14 22:07:46 · 199 阅读 · 0 评论 -
No unique bean of type [com.xxx.service.Ixxx] is defined: expected single matchi
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.xxx.service.impl.TestxxxImpl': Unsatisfied dependency expressed through bean property 'xxx': ...原创 2012-08-29 14:22:08 · 24444 阅读 · 0 评论 -
org.dbunit.dataset.NoSuchColumnException:xxx.xxx
hibernate 配置文件 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dt...原创 2012-08-29 10:56:58 · 573 阅读 · 0 评论