java.io.FileNotFoundException: Could not resolve XML resource [precompiledJsp] with public ID [null], system ID [precompiled-jsp-web.xml] and base URI [file:/C:/dev/java/ws/webproject/src/main/webapp/WEB-INF/web.xml] to a known, local entity.

GitHub | scottresnik | 4 months ago
  1. 0

    tomcatJasper task fails when web.xml has external xml entities.

    GitHub | 4 months ago | scottresnik
    java.io.FileNotFoundException: Could not resolve XML resource [precompiledJsp] with public ID [null], system ID [precompiled-jsp-web.xml] and base URI [file:/C:/dev/java/ws/webproject/src/main/webapp/WEB-INF/web.xml] to a known, local entity.
  2. 0

    Oozie Console HTTP Status 500 - org.apache.jasper.JasperException: Unable to load class for JSP with Java1.8 latest Version

    Stack Overflow | 2 months ago | Manish
    java.io.FileNotFoundException: Could not resolve XML resource [[dtd]] with public ID [-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN], system ID [http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd] and base URI [null] to a known, local entity.
  3. 0

    Error starting Tomcat 8 + Lucee 5.0.0.235-RC.war

    Google Groups | 8 months ago | Ron Stewart
    javax.servlet.ServletException: java.io.FileNotFoundException: Could not resolve XML resource [null] with public ID [-//Railo//DTD CFML Tag Library 1.0//EN], system ID [dtd/web-cfmtaglibrary_1_0.dtd] and base URI [file:/Users/ron/opt/t8i/l5/webapps/ROOT/WEB-INF/lucee-server/context/library/tld/charttag.tld] to a known, local entity.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jax-ws war deploys, but gives 404 on tomcat

    Stack Overflow | 6 months ago | user1958756
    java.io.FileNotFoundException: Could not resolve XML resource [null] with public ID [-//Sun Microsystems,Inc.//DTD Web Application 2.3//EN], system ID [http://java.sun.com/j2ee/dtds/web-app_2_3.dtd] and base URI [file:/C:/Program%20Files%20(x86)/Apache%20Software%20Foundation/Tomcat%208.5/webapps/HelloWorldTomcatService/WEB-INF/web.xml] to a known, local entity.
  6. 0

    Web application fails to start with tomcat v > 7.0.47

    GitHub | 3 years ago | gAmUssA
    java.io.FileNotFoundException: Could not resolve XML resource [null] with public ID [null], system ID [generated/djn-settings.inc] and base URI [jndi:/localhost/MyApp/WEB-INF/web.xml] to a known, local entity.

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.FileNotFoundException

      Could not resolve XML resource [precompiledJsp] with public ID [null], system ID [precompiled-jsp-web.xml] and base URI [file:/C:/dev/java/ws/webproject/src/main/webapp/WEB-INF/web.xml] to a known, local entity.

      at org.apache.tomcat.util.descriptor.LocalResolver.resolveEntity()
    2. Pax Jsp
      LocalResolver.resolveEntity
      1. org.apache.tomcat.util.descriptor.LocalResolver.resolveEntity(LocalResolver.java:155)
      1 frame
    3. Xerces2-j
      SAXParserImpl$JAXPSAXParser.parse
      1. org.apache.xerces.util.EntityResolver2Wrapper.resolveEntity(Unknown Source)
      2. org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
      3. org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(Unknown Source)
      5. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      6. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      7. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      8. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      9. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      10. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      11. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      11 frames
    4. Glassfish Core
      Digester.parse
      1. org.apache.tomcat.util.digester.Digester.parse(Digester.java:1451)
      1 frame
    5. MortBay :: Apache Jasper :: JSP Implementation
      WebXmlParser.parseWebXml
      1. org.apache.tomcat.util.descriptor.web.WebXmlParser.parseWebXml(WebXmlParser.java:120)
      2. org.apache.tomcat.util.descriptor.web.WebXmlParser.parseWebXml(WebXmlParser.java:86)
      2 frames
    6. GWT dev
      JspC.execute
      1. org.apache.jasper.servlet.JspCServletContext.buildMergedWebXml(JspCServletContext.java:149)
      2. org.apache.jasper.servlet.JspCServletContext.<init>(JspCServletContext.java:135)
      3. org.apache.jasper.JspC.initServletContext(JspC.java:1489)
      4. org.apache.jasper.JspC.execute(JspC.java:1342)
      4 frames
    7. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    9. Ant
      DispatchUtils.execute
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      1 frame
    10. Groovy
      AntBuilder.performTask
      1. groovy.util.AntBuilder.performTask(AntBuilder.java:327)
      1 frame