天天看点

SSH中hibernate错误信息 Could not instantiate id generator

1.Caused by: org.hibernate.MappingException:  Could not instantiate id generator [entity-name=cn.stwt.mm.bean.Meetingpicture]      

  映射文件写的有错误  

2.Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for name in cn.stwt.mm.bean.Meetingpicture      

 映射文件中某个属性的get set方法未写      

3.Exception starting filter struts2

java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils        

  加入commons-lang-2.5.jar  

4.Cannot locate the chosen ObjectFactory implementation: spring - [unknown location]      

加入struts2-spring-plugin-2.3.1.2.jar

转载于:https://www.cnblogs.com/mm5217/archive/2013/04/03/2997504.html