users@glassfish.java.net

Re: What URL does Glassfish deploy web service endpoints and ...

From: <forums_at_java.net>
Date: Mon, 26 Dec 2011 09:41:06 -0600 (CST)

 The problem turned out to be the web.xml file that Maven generated for me.
 Maven gave me an old web.xml file with a DTD and a simple <web-app> tag.
 What I needed to have is this:

<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_3_0.xsd"
    version="3.0">

 


--
[Message sent by forum member 'dwschulze']
View Post: http://forums.java.net/node/877369