org.hibernate.MappingException: Could not determine type for 错误
来源:互联网 发布:mac 百度云破解版 编辑:程序博客网 时间:2024/05/27 14:14
今天做项目因所用表结构变了,手动修改映射的相应hbm.xml文件,再启动报了一个
“org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in ServletContext resource [/WEB-INF/Spring-Context.xml]: Initialization of bean failed; nested exception is org.hibernate.MappingException: Could not determine type for: java.lang.Short , for columns: [org.hibernate.mapping.Column(STATE)] ”
错误,查了查,没有明确答案,后来想到是手写的,是不是手误了,检查果然type="java.lang.Short",写成"java.lang.Short ",后面多了空格,删了空格再试,正常了。
-_-||
- org.hibernate.MappingException: Could not determine type for 错误
- org.hibernate.MappingException: Could not determine type for: String
- org.hibernate.MappingException: Could not determine type for
- org.hibernate.MappingException: Could not determine type for
- Caused by: org.hibernate.MappingException: Could not determine type for
- org.hibernate.MappingException: Could not determine type for:
- 错误提示:Caused by: org.hibernate.MappingException: Could not determine type for
- org.hibernate.MappingException: Could not determine type for: String 数据类型错误
- 【hibernate】org.hibernate.MappingException: Could not determine type for: String, for columns:
- Caused by: org.hibernate.MappingException: Could not determine type for: org.cgh.ssh.pojo.GoodsType,
- 使用Hibernate的UserType时报错:org.hibernate.MappingException: Could not determine type for: EMailList, at
- Hibernate异常Caused by: org.hibernate.MappingException: Could not determine type for: java.util.Set
- org.hibernate.MappingException: Could not determine type for: java.util.List, at table: user, for...
- org.hibernate.MappingException: Could not determine type for: String, at table: Elec_Text, for colum
- org.hibernate.MappingException: Could not determine type for: String, at table: Elec_SystemDDL, for
- org.hibernate.MappingException: Could not determine type for: Integer, at table: grade, for columns
- org.hibernate.MappingException: Could not determine type for: java.lang.string
- org.hibernate.MappingException: Could not determine type for: java.util.Set
- 如何更改Web Service部署生成的App_Code.dll的名称
- ★●黑客基地●★ 全球最大的黑客门户网站
- Sping中自定义属性编辑器
- 启动服务的DOS命令
- DHCP客户端设置(solaris)
- org.hibernate.MappingException: Could not determine type for 错误
- 见过的编译错误
- 1996
- 消息传递在VB中的应用
- gridview使用一
- CPU缓存概念认识
- 第14节 三个败家子(14)——在辉煌中走向深渊
- 简单的感想
- 第15节 三个败家子(15)—— 总被死后累