Caused by: org.dom4j.DocumentException: Error on line 49 of document : 元素类型 "property" 必须由匹配的结束标记 "

博客内容提要:在处理XML文档时遇到了org.dom4j.DocumentException,具体错误信息指向第49行的'property'元素缺少对应的结束标签。问题的根源在于映射文件hbm.xml中某个字段的声明未正确关闭,遗漏了</property>。修复这个问题后,文档解析恢复正常。
摘要由CSDN通过智能技术生成
六月 27, 2018 9:45:33 上午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class com.simpro.core.web.listener.ApplictionInitDataListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryForMaybankCustomerInfo' defined in file [C:\project\maybank\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\urrp\WEB-INF\classes\springcfg\applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值