Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by johnwp, 1 year ago
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'context-param'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/xml/ns/javaee":servlet-name}' is expected.
via Stack Overflow by Drew
, 2 years ago
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'url-pattern'. One of '{"http://java.sun.com/xml/ns/j2ee":dispatcher}' is expected.
via com.br by Unknown author, 2 years ago
org.xml.sax.SAXParseExceptionpublicId: file:/C:/Users/AndréPCw7/GlassFish_Server/glassfish/lib/schemas/web-app_3_0.xsd; lineNumber: 116; columnNumber: 42; Arquivo de descritor de implantação WEB-INF/web.xml no arquivo compactado [__admingui]. src-resolve: Não é possível resolver o nome 'javaee:web-appType' para um componente 'type definition'.
via Google Groups by Rick, 7 months ago
org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'xml:lang' to a(n) 'attribute declaration' component.
via Google Groups by gail, 8 months ago
org.xml.sax.SAXParseException: cvc-complex-type. 2.4.a: Invalid content was found starting with element 'init-param'. One of '{"http://java.sun.com/xml/ns/javaee":run-as, "http:// java.sun.com/xml/ns/javaee":security-role-ref}' is expected.
via Java.net JIRA by bavik78, 1 year ago
org.xml.sax.SAXParseException: sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of 'http://java.sun.com/xml/ns/j2ee,descriptionGroup'.
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'context-param'. One of '{"http://java.sun.com/xml/ns/javaee":description, "http://java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/xml/ns/javaee":servlet-name}' is expected.	at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:304)	at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:225)	at com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor(Archivist.java:614)	at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:366)	at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:238)	at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:247)	at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:208)	at com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:148)	at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:162)