ssh异常
加木Go
技术教会我生活
展开
-
org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not a
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 59 in XML document from class path resource [beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException: The p原创 2012-08-31 11:06:22 · 734 阅读 · 0 评论 -
org.hibernate.HibernateException
org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here事务管理问题解决:在中加上下面这句话原创 2012-08-31 11:08:24 · 465 阅读 · 0 评论 -
org.springframework.beans.factory.BeanCreationException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [beans.xml]: Invocation of init method failed; nested exception i原创 2012-08-31 10:47:03 · 561 阅读 · 0 评论 -
can not access a member of with modifiers "public"
can not access a member of with modifiers "public"http://blog.csdn.net/AMWIHIHC/article/details/4213338If you get the following error in Struts2:java.lang.IllegalAccessException: Class com.o转载 2012-09-02 23:27:21 · 1068 阅读 · 0 评论 -
org.hibernate.PersistentObjectException: detached entity passed to persist异常
http://blog.csdn.net/zhoutao198712/article/details/4184517 再用jpa+spring+struts2开发的是时候遇到一个问题(采用了注解的方式,xml配置的道理是一样的),当我在注册用户的时候,注册第一个用户没有问题,但注册第二个用户开始就会抛出一个异常: javax.persistence.PersistenceEx转载 2012-09-03 13:57:40 · 451 阅读 · 0 评论