---
title: "tomcat 错误：SAXParseException: Premature end of file"
author: "Jameslyy"
date: "2013-12-18T19:33:15Z"
tags: ["Tomcat", "saxparseexception"]
categories: ["开源软件"]
slug: "tomcat-saxparseexception-premature-end-of-file"
draft: false
lastmod: "2013-12-20T11:53:38Z"
id: 1991730
url: "https://jamesblog.iteye.com/blog/1991730"
---

tomcat启动不了，报错：SAXParseException: Premature end of file

    详查错误信息，可以发现是解析哪个xml文件时出错，检查该xml文件，应该就能发现错误所在。一般是WEB-INF/下的xml配置文件，如web.xml，处理好xml文件，问题解决！