新手开发web时的问题,采用框架ssh

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not determine type for: com.course.sequence.Sequence, at table: CLASS_INFO, for columns: [org.hibernate.mapping.Column(cs)]
求问这是什么问题

hibernate映射不一致吧

org.springframework.beans.factory.BeanCreationException: // Bean创建异常
Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed;
//sessionFactory在[*.Xml]中配置的问题 初始化方法失败
nested exception is org.hibernate.MappingException: //hibernate mapping 塑形失败
Could not determine type for: com.course.sequence.Sequence, at table: //不能 判断 表中序列的类型

CLASS_INFO, for columns: [org.hibernate.mapping.Column(cs)] //hibernate Mapping 某个类的 cs属性 失败 ,表中塑形这个列column失败

新手在所难免的 异常看多了 慢慢你也看的懂 ,就是看不懂翻译一下 意思也差不多

友情提示:注意对象属性的类型 ,建议新手初期手动配置 熟练之后 建议使用表结构反向生长

恩 就是 spring 配置的bean 出错了 ...仔细查查吧

Error creating bean with name 'sessionFactory' defined in class path resource
仔细看bean有问题,不能对应映射了!!!