Peter Nabbefeld created NETBEANS-1204:
-----------------------------------------
Summary: Add support for Glassfish 5
Key: NETBEANS-1204
URL: https://issues.apache.org/jira/browse/NETBEANS-1204
Project: NetBeans
Issue Type: Improvement
Components: serverplugins - GlassFish
Affects Versions: 8.2
Reporter: Peter Nabbefeld
Could not yet test with NB 9.0, so added only version 8.2.
Added Glassfish 5 as a Glassfish server type, but when I try to run my project,
I get the following error:
java.io.IOException: org.xml.sax.SAXParseExceptionpublicId:
file:/opt/glassfish5/glassfish/lib/schemas/web-app_3_1.xsd; lineNumber: 8;
columnNumber: 27; Deployment descriptor file WEB-INF/web.xml in archive
[PrivateCookingReceipes-1.0-SNAPSHOT]. TargetNamespace.1: Namespace
'http://java.sun.com/xml/ns/javaee' wird erwartet, aber der Ziel-Namespace des
Schemadokuments ist '[http://xmlns.jcp.org/xml/ns/javaee'.]
Sorry for the German message. It says the target namespace of the web.xml
schema does not fit, obviously this is checked by the glassfish plugin
(expected 'http://java.sun.com/xml/ns/javaee' but found
'[http://xmlns.jcp.org/xml/ns/javaee'|http://xmlns.jcp.org/xml/ns/javaee'.]).
Probably it'd be sufficient to just test for both namespaces depending on
glassfish version.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists