You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by William BC Crandall <wc...@sz-ffm.midat.de> on 2000/12/14 10:48:01 UTC

Typos in web.xml - Was: 'Build error: "Cannot use classic compiler"'

Craig, Willie, 

Thanks for your suggestions. Turned out to just need a re-boot.  ;)

Now its clear that error messages at tomcat startup were caused
by typos in the template web.xml file supplied in
{tomcat}/doc/appdev/web.xml.txt. 

There are three errors that generate SAXParseException's.
The first is an <xml-element> outside of a comment.
The others are miss-matched end tags.

First error:
	Expected "</servlet-mapping>" to terminate element starting on line 77
	web.xml 77:      filename extension with a <servlet-mapping>

Second error:
	Expected "</param-name>" to terminate element starting on line 89.
	web.xml 89:      <param-name>listOrders</paramName>

Third error:
	Expected "</param-name>" to terminate element starting on line 89.
	web.xml 94:      <param-name>saveCustomer</paramName>


Thanks Craig for the very nice appdev document,
and for both of your suggestions.

-- 

William BC Crandall
Wiesbaden : Germany

Re: Build error: "Cannot use classic compiler"

Posted by William BC Crandall <wc...@sz-ffm.midat.de>.
Whoops, spoke too fast. 

Rebooting was not the answer.

The real problem was the .jar files I'd copied into
/usr/lib/jdk1.3/jre/lib/ext. 
I took them back out, and build.sh works fine.

Question: For future questions, is there a searchable 
archive for this mailing list?

Thanks again.

-- 

William BC Crandall
Wiesbaden : Germany