Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Validation Errors after update from 9.0 to 9.2

Yow ... web-app_2_3.dtd

That was part of J2EE 1.3, back in Sept 2001.

Ok, this old of a web dtd isn't tested by our own tests it seems.
But we do have that dtd in our jetty-schemas.jar
Which the jetty-webapp.jar and its org.eclipse.jetty.webapp.WebDescriptor.class knows about and sets up for internal redirect.

So I gotta ask, how are you using jetty?
If embedded, or maven plugin, or just about anything that isn't the jetty-distribution, then what are the dependencies you use?
If the jetty-distribution, what is the configuration you are using?

Or ... can you upgrade the WEB-INF/web.xml to say servlet spec 2.5 at least? (this error will go away)


--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts

On Thu, May 7, 2015 at 5:19 AM, Lothar Kimmeringer <job@xxxxxxxxxxxxxx> wrote:
Am 07.05.2015 um 14:10 schrieb Joakim Erdfelt:
> Lets see your WEB-INF/web.xml

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>
</web-app>


The webdefault.xml in etc is a bit longer ;-)

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    metadata-complete="true" version="2.5">

    <description>
    Default web.xml file.
    This file is applied to a Web application before it's own WEB_INF/web.xml file
    </description>
[...]


Regards, Lothar
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top