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 Stack Overflow by yasser h
, 1 year ago
Line 1 in XML document from ServletContext resource [/WEB-INF/conf/test-service-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 2; The markup in the document preceding the root element must be well-formed.
via nabble.com by Unknown author, 1 year ago
Line 2 in XML document from ServletContext resource [/WEB-INF/spring-configuration/log4j.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 37; cvc-elt.1: Cannot find the declaration of element 'Configuration'.
via Stack Overflow by Anup Ghosh
, 1 year ago
Line 1 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
via Stack Overflow by Dimpermanence
, 2 years ago
Line 38 in XML document from ServletContext resource [/WEB-INF/spring-configuration/ticketRegistry.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 38; columnNumber: 91; The prefix "cas" for element "cas:hazelcast-ticket-registry" is not bound.
via Stack Overflow by PrawDG
, 2 years ago
Line 52 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 52; columnNumber: 6; The processing instruction target matching "[xX][mM][lL]" is not allowed.
via 68idc.cn by Unknown author, 2 years ago
Line 28 in XML document from class path resource [applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 28; columnNumber: 81; cvc-complex-type.2.3: ÔªËØ 'property' ±ØÐë²»º¬×Ö·û [×Ó¼¶], ÒòΪ¸ÃÀàÐ͵ÄÄÚÈÝÀàÐÍΪ¡°½öÔªËØ¡±¡£
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from ServletContext resource [/WEB-INF/conf/test-service-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 2; The markup in the document preceding the root element must be well-formed.	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217)	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)	at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)	at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)	at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)	at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452)	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4842)	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5303)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)