天天看點

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