【发布时间】:2010-06-15 11:47:55
【问题描述】:
我正在尝试使用休眠将我的 jsf selectonemenu 填充到 ApplicationBean(在 Liferay 中)。问题是我遇到了 Initial SessionFactory 创建失败问题。在将我的函数放入 applicationbean 之前,我将它们设置在 sessionbean 中,我没有收到任何错误。
现在是完整的错误
Initial SessionFactory creation failed.
java.lang.ClassCastException: org.hibernate.type.StringType cannot be cast to org.hibernate.type.VersionType
【问题讨论】:
标签: java hibernate jsf liferay