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.

  • License exception inWLS 7.0
    via by 3004,
  • '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: Illegal character at end of document, &#x48;. at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182) at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3176) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:506) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442) at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:134) at com.bea.installer.registry.XmlParser.parseFile(Unknown Source) at com.bea.installer.registry.XmlParser.<init>(Unknown Source) at com.bea.installer.registry.LicenseMerger.<init>(Unknown Source) at com.bea.installer.registry.LicenseMerger.main(Unknown Source)
    No Bugmate found.