tomcat 启动出错 Parse Fatal Error at line 1 column 1:Premature end of file
2013-11-08 20:51
1946 查看
好久没用tomcat了,今天配置了一下tomcat,却发现启动不成功,startup时总是出现一些异常,如下图所示。
后来查看了一下,原来是以前的一个几个项目中的一个配置有了些问题,可能好久没用了,按照提示信息修改了配置后,自我感觉没问题了,可最后重新启动时又提示了一个Parse Fatal Error at line 1 column 1:Premature end of file 的错误,后来仔细检查,发现以前在tomcat里面建的一个website中有个空的.xml文件,感觉此website没用了,后来干脆删除,直接就没问题了。启动一切正常了。
如果有tomcat启动时的类似问题,可以查看一下tomcat目录里面的webapps文件夹里面有没有配置错误的website,如果有,改正,如果觉得没用,可以直接删除。
后来查看了一下,原来是以前的一个几个项目中的一个配置有了些问题,可能好久没用了,按照提示信息修改了配置后,自我感觉没问题了,可最后重新启动时又提示了一个Parse Fatal Error at line 1 column 1:Premature end of file 的错误,后来仔细检查,发现以前在tomcat里面建的一个website中有个空的.xml文件,感觉此website没用了,后来干脆删除,直接就没问题了。启动一切正常了。
如果有tomcat启动时的类似问题,可以查看一下tomcat目录里面的webapps文件夹里面有没有配置错误的website,如果有,改正,如果觉得没用,可以直接删除。
相关文章推荐
- Qt5:"Designer: An error has occurred while reading the UI file at line 1, column 0: Premature end of document."错误
- 关于启动报错org.xml.sax.SAXParseException: Premature end of file
- premature end of file错误
- 启动tomcat出错:Unable to load configuration. - bean - jar:file:
- org.xml.sax.SAXParseException: Premature end of file
- xml中的Premature end of file
- 使用Maven构建javaWeb项目时,启动tomcat出错:严重: Error configuring application listener of class org.springframewo
- Premature end of file
- Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
- faultString: org.xml.sax.SAXParseException: Premature end of file问题解决方案
- org.dom4j.DocumentException: Error on line 1 of document : Premature end of file. Nested exception:
- 使用Maven构建javaWeb项目时,启动tomcat出错:严重: Error configuring application listener of class org.springframewo
- tar解压出错:gzip: stdin: unexpected end of file的解决
- PRCR-1079 : 无法启动资源 ora.orcl.db ORA-03113: end-of-file on communication channel
- 解决SAXParseException: Premature end of file
- premature end of file错误
- ASM路径问题导致数据库不能正常启动 -- 报:ORA-03113: end-of-file on communication channel
- DOM4J:Premature end of file
- [Fatal Error] :-1:-1: Premature end of file.
- 数据库启动open报错:ORA-03113: end-of-file on communication channel