org.xml.sax.SAXParseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 'jwnl.configuration' is undefined
    via openephyra by bchennareddy
    ,
  • Command Line Usage - Problems
    via pmd by leesf
    ,
  • [junit] Testcase: testContextLoaderListenerWithDefaultContext took 0.597 sec [junit] Caused an ERROR [junit] Line 3 in XML document from resource [/org/springframework/web/context/WEB-INF/applicationContext.xml] of ServletContext is invalid; nested exception is org.xml.sax.SAXParseException: Relative URI "org/springframework/web/context/WEB-INF/contextInclude.xml"; can not be resolved without a base URI. [junit] org.springframework.beans.factory.BeanDefinitionStoreException: Line 3 in XML document from resource [/org/springframework/web/context/WEB-INF/applicationContext.xml] of ServletContext is invalid; nested exception is org.xml.sax.SAXParseException: Relative URI "org/springframework/web/context/WEB-INF/contextInclude.xml"; can not be resolved without a base URI. [junit] org.xml.sax.SAXParseException: Relative URI "org/springframework/web/context/WEB-INF/contextInclude.xml"; can not be resolved without a base URI. [junit] at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3339) [junit] at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3333) [junit] at org.apache.crimson.parser.Parser2.resolveURI(Parser2.java:2915) [junit] at org.apache.crimson.parser.Parser2.maybeExternalID(Parser2.java:2887) [junit] at org.apache.crimson.parser.Parser2.maybeEntityDecl(Parser2.java:2789) [junit] at org.apache.crimson.parser.Parser2.maybeMarkupDecl(Parser2.java:1357) [junit] at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1291) [junit] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:623) [junit] at org.apache.crimson.parser.Parser2.parse(Parser2.java:333) [junit] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) [junit] at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185) [junit] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76) [junit] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:126) [junit] at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:125) [junit] at org.springframework.context.support.AbstractXmlApplicationContext.refreshBeanFactory(AbstractXmlApplicationContext.java:65) [junit] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:226) [junit] at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131) [junit] at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:156) [junit] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:97) [junit] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48) [junit] at org.springframework.web.context.ContextLoaderTestSuite.testContextLoaderListenerWithDefaultContext(ContextLoaderTestSuite.java:56) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    via by Michael Labhard,
  • How do I specify a base URI?
    via by 843834,
    • org.xml.sax.SAXParseException: Character conversion error: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (line number may be too low). at org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1100) at org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1072) at org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(InputEntity.java:914) at org.apache.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:1183) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:653) at org.apache.crimson.parser.Parser2.parse(Parser2.java:337) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124) at org.eclipse.update.core.model.DefaultSiteParser.getMirrors(DefaultSiteParser.java:755) at org.eclipse.update.core.model.SiteModel.getMirrorSiteEntryModels(SiteModel.java:410) at org.eclipse.update.core.Site.getMirrorSiteEntries(Site.java:535) at org.eclipse.update.internal.model.SiteWithTimestamp.getMirrorSiteEntries(SiteWithTimestamp.java:125) at org.eclipse.update.ui.UpdateJob$ResultCollectorWithMirrors.getMirror(UpdateJob.java:295) at org.eclipse.update.search.UpdateSearchRequest.searchOneSite(UpdateSearchRequest.java:359) at org.eclipse.update.search.UpdateSearchRequest.performSearch(UpdateSearchRequest.java:253) at org.eclipse.update.ui.UpdateJob.runUpdates(UpdateJob.java:200) at org.eclipse.update.ui.UpdateJob.run(UpdateJob.java:163) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
    No Bugmate found.