I am trying to migrate an existing jetty application (that is probing a postgres database) to the glassfish server 4.
So I deployed the war using the admin console and the error I am getting is the following :
Error occurred during deployment: Exception while deploying the app [examples-simulated-2.1.0] : org.xml.sax.SAXParseException; lineNumber: 85; columnNumber: 17; Deployment descriptor file WEB-INF/web.xml in archive [examples-simulated-2.1.0]. cvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'. One of '{"http://java.sun.com/xml/ns/javaee":servlet-class, "http://java.sun.com/xml/ns/javaee":jsp-file}' is expected.. Please see server.log for more details.
and here is the server.log :
Any ideas on how to fix that?
Thank you.
PS : Don't hesitate to ask me about more details on the project that is running inside the war.