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

posted on 2013-04-03 11:14  dinkleman  阅读(1032)  评论(0编辑  收藏  举报

导航