You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Holger Wiechert <Ho...@coconet.de> on 2000/08/01 16:43:11 UTC
ant in tomcat3.1 release gives parse exception on sample build.xm
l
Hi,
I'm just trying to get the first steps done in deploying a web app. I
started with the sample delivered with Tomcat 3.1. When running the
build.bat form the dir
<tomcat_home>\doc\appdev\sample
I get the following error message:
---------------------
C:\Programme\tomcat\doc\appdev\sample>build
Buildfile: build.xml
BUILD CONFIG ERROR: Can't open config file: build.xml due to:
org.xml.sax.SAXParseException: com.sun.xml.parser/P-031 <
org.apache.tools.ant.BuildException: Can't open config file: build.xml due
to: org.xml.sax.SAXParseException:
com.sun.xml.parser/P-031 <
at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
at org.apache.tools.ant.Main.runBuild(Main.java:223)
at org.apache.tools.ant.Main.main(Main.java:191)
---------------------
Can anybody tell me please, what's going wrong?
Thanks in advance, Holger
Re: ant in tomcat3.1 release gives parse exception on sample build.xm l
Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "HW" == Holger Wiechert <Ho...@coconet.de> writes:
HW> Hi, I'm just trying to get the first steps done in deploying a
HW> web app. I started with the sample delivered with Tomcat
HW> 3.1. When running the build.bat form the dir
HW> Buildfile: build.xml
HW> BUILD CONFIG ERROR: Can't open config file: build.xml due to: org.xml.sax.SAXParseException:
HW> com.sun.xml.parser/P-031
Unset LC_ALL to get a more meaningful error message from the
parser. Probably your build.xml is not wellformed. For some reason
Sun's parser doesn't fall back to the english locale when it can't
find a translated error message (I've run into the same problem once).
Stefan