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.

Stack Overflow | user1958756 | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jax-ws war deploys, but gives 404 on tomcat

    Stack Overflow | 10 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.
  2. 0

    Error starting Tomcat 8 + Lucee 5.0.0.235-RC.war

    Google Groups | 1 year 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.
  3. 0

    Java Compilation ERROR Jstl - JavaEE/J2EE | Dream.In.Code

    dreamincode.net | 8 months ago
    java.io.FileNotFoundException: Could not resolve XML resource [null] 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    GitHub | 8 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.
  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 [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.

      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. Java RT
      SAXParserImpl$JAXPSAXParser.parse
      1. com.sun.org.apache.xerces.internal.util.EntityResolver2Wrapper.resolveEntity(Unknown Source)
      2. com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntityAsPerStax(Unknown Source)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(Unknown Source)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(Unknown Source)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
      6. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      7. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      9. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      10. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      11. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      12. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      12 frames
    4. Glassfish Core
      Digester.parse
      1. org.apache.tomcat.util.digester.Digester.parse(Digester.java:1461)
      1 frame
    5. MortBay :: Apache Jasper :: JSP Implementation
      WebXmlParser.parseWebXml
      1. org.apache.tomcat.util.descriptor.web.WebXmlParser.parseWebXml(WebXmlParser.java:120)
      1 frame
    6. Glassfish Core
      HostConfig$DeployWar.run
      1. org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1110)
      2. org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:771)
      3. org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:298)
      4. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
      5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5076)
      6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
      7. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
      8. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
      9. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
      10. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
      11. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
      11 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      5. java.lang.Thread.run(Unknown Source)
      5 frames