org.dom4j.DocumentException: Error on line 1 of document : Premature end of file. Nested exception:
来源:互联网 发布:为什么wifi网络不稳定 编辑:程序博客网 时间:2024/06/01 09:09
log4j:WARN No appenders could be found for logger (bs.com.web.BsMmWeb).
log4j:WARN Please initialize the log4j system properly.
org.dom4j.DocumentException: Error on line 1 of document : Premature end of file. Nested exception: Premature end of file.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:278)
at bs.com.common.XMLBeanUtils.readStringXmlOut(XMLBeanUtils.java:74)
at bs.com.common.XMLBeanUtils.xmlTo2Bean(XMLBeanUtils.java:35)
Exception sending context initialized event to listener instance of class org.springframework.web.util.Log4jConfigListener
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.springframework.util.PropertyPlaceholderHelper.<clinit>(PropertyPlaceholderHelper.java:40)
at org.springframework.util.SystemPropertyUtils.<clinit>(SystemPropertyUtils.java:49)
at org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.java:66)
缺少包spring包和common包
全部导入
0 1
- org.dom4j.DocumentException: Error on line 1 of document : Premature end of file. Nested exception:
- Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
- Caused by: org.dom4j.DocumentException: Error on line 1 of document : 前言中不允许有内容。 Nested exception:
- 烦:org.dom4j.DocumentException: Error on line 5 of document.....
- org.dom4j.DocumentException: Error on line 1 of document : The markup in the document following the
- org.dom4j.DocumentException: Error on line 1 of document: 前言中不允许有内容
- org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog.
- org.dom4j.DocumentException: Error on line -1 of document : 文件提前结束
- DOM4J:Premature end of file
- java.lang.RuntimeException: org.dom4j.DocumentException: Error on line 1 of ...xml: 应该有伪属性名。
- dom4j解决Premature end of file
- tomcat 启动出错 Parse Fatal Error at line 1 column 1:Premature end of file
- Premature end of file
- Premature end of file
- [Fatal Error] :-1:-1: Premature end of file.
- org.dom4j.DocumentException: null Nested exception: null
- org.dom4j.DocumentException: null Nested exception: null
- org.dom4j.DocumentException: null Nested exception: null
- android NFC学习笔记
- 杭电ACM-1237-简单计算器
- 集合框架(Collection)
- 阿斯打扫打扫打扫阿斯打扫气温千瓦时的啊死党
- WSAIoctl
- org.dom4j.DocumentException: Error on line 1 of document : Premature end of file. Nested exception:
- iOS 8 AutoLayout与Size Class
- 词组缩写 2564HDU
- 手机页面优化几点(bbs 1)
- MFC编写的小游戏过程中的收获
- 一个简单的ini文件Loader
- openCV学习笔记(6):Mat类/数据结构详解(1)
- hdu1106(排序,java水过)
- 交叉编译的概念(转载)