S2SH3配置错误
来源:互联网 发布:阿里云域名空间 编辑:程序博客网 时间:2024/04/27 21:33
1. 严重: Exception sending context initializedevent to listener instance of class
org.springframework.web.context.ContextLoaderListener
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 isorg.hibernate.MappingException: Association references unmapped class:OutStroege
Caused by:org.hibernate.MappingException:Association references unmapped class: OutStroege
解决方法:
检查所有与这张表有关联的 .hbm.xml 的CLASS路径是否正确。
如:
<hibernate-mappingpackage="com.yt.entity">
2. Caused by:
org.xml.sax.SAXParseException: Element type "prpperty" must be declared.
配置文件中属性错误,应该是property
3. Caused by:
org.xml.sax.SAXParseException:Documentroot element "hibernate-maaping", mustmatch DOCTYPE root "hibernate-mapping".
Hbm.xml配置文件中<hibernate-mapping >属性拼写错误。
4. Caused by:
org.dom4j.DocumentException: Error on line 15 of document : The element type "hibernate-mapping" must be terminated bythe matching end-tag "</hibernate-mapping>". Nested exception:The element type "hibernate-mapping" must be terminated by thematching end-tag "</hibernate-mapping>".
配置文件hbm.xml中前后不匹配< hibernate-mapping >< hibernate-maaping />
5. Caused by:org.hibernate.PropertyNotFoundException: Could not find a getter for goodsname in classcom.yt.entity.InStroege
InStroege.java中的属性和InStroege.hbm.xml中的属性没有对起(本处错误:InStroege.java中是goodsname而InStroege.hbm.xml中是goodsName)。
- S2SH3配置错误
- 配置错误
- 配置错误
- 错误配置
- [配置错误]MatchID配置错误....
- 一次DNS配置错误
- DNS配置错误
- 一个配置错误
- 配置错误,**拒绝访问
- .net2003的配置错误
- fatjar配置错误
- IIS 配置错误
- resin配置错误
- 自己配置错误页面
- iis配置错误
- 配置错误跳转页面
- vsftp 配置错误
- nfs配置错误
- opencv c++函数 highgui模块 3
- VMware 虚拟机硬盘镜像共享
- Black-Scholes期权定价(C#版)
- CSingleLock
- 杭电HDOJ 1061 解题报告
- S2SH3配置错误
- Vmdk文件导入虚拟机VMware8.0教程
- 创建activity要点
- NavigationController导航栏中添加多个UIBarButtonItem
- 常用SQL语句
- SQL 查询去掉字符的方法SUBSTR()、 查询序列号的方法ROW_NUMBER()
- struct hostent结构体
- Ubuntu下安装NetBeans步骤和相关问题的解决方法
- GNU binutils工具使用