---
title: "Google App Engine first error ：SAXException"
author: "zhangcheng"
date: "2009-05-06T20:39:46Z"
tags: ["C", "Google", "Java", "Web", "XML"]
slug: "google-app-engine-first-error-saxexception"
draft: false
lastmod: "2009-05-06T20:41:00Z"
id: 380358
url: "https://zhangcheng.iteye.com/blog/380358"
---

今天照着Google App Engine的官方文档，试了试GuestBook，从开始知道部署前都很顺利，没问题！但是部署的时候却出了问题。

```java

Deploying guestbook to Google". 
Received SAXException parsing the input stream for C:/workspace/ 
JavaAppOnGoogle/guestbook/war\WEB-INF/datastore-indexes.xml 

```

    很郁闷，问题出在哪里呢？看了一下那个文件的内容

```java

<!-- Indices written at 09-5-6 ����8:01 -->

<datastore-indexes/>

```

    看不出来什么问题，**尝试在/之前加个空格**，如下

```java

<!-- Indices written at 09-5-6 ����8:01 -->

<datastore-indexes />

```

    具然好了。啊哈哈~