Closed GoogleCodeExporter closed 8 years ago
Thanks, I think we addressed the GWT-specific side of the problem, but we
didn't take care of this. We'll fix this up in the next point release of GPE
(couple of weeks).
Original comment by rdayal@google.com
on 20 Feb 2013 at 2:38
Original comment by rdayal@google.com
on 20 Feb 2013 at 2:41
Original comment by rdayal@google.com
on 20 Feb 2013 at 2:43
Dean, if you can consistently reproduce this, can you give us a copy of your
web.xml file?
Original comment by a...@google.com
on 13 Mar 2013 at 2:34
Your question lead me to experiment with my web.xml and I seem to have tracked
the problem down to the !DOCTYPE declaration. My application has been around
for 2+ years and still utilized the automatically generated !DOCTYPE
declaration from whatever plug-in version I was using when the project was
first created.
The problematic !DOCTYPE declaration is provided below.
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
The appengine docs here
(https://developers.google.com/appengine/docs/java/gettingstarted/creating)
indicate the use of a (only superficially different) !DOCTYPE declaration
(which takes into account the Oracle takeoever). Using the !DOCTYPE
declaration below however still causes the error to be consistently raised on
full builds.
<!DOCTYPE web-app PUBLIC "-//Oracle Corporation//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
I created a new appengine project in eclipse and noticed that the !DOCTYPE
declaration is no longer included in the automatically generated web.xml and
has been replaced by a schema reference (see below). When the schema
referenced is used instead of the !DOCTYPE declaration the build completes
without errors.
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
So there is clearly a work-around; thanks for putting me onto this.
It may be a good idea to update the user docs to use the schema reference in
the example rather than the !DOCTYPE declaration.
Original comment by dean.bar...@akidna.co
on 13 Mar 2013 at 10:00
Original comment by rdayal@google.com
on 3 Apr 2013 at 8:33
Original issue reported on code.google.com by
dean.bar...@gmail.com
on 15 Feb 2013 at 12:15