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.

Stack Overflow | Manish | 5 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

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

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

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

    GitHub | 6 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.
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error starting Tomcat 8 + Lucee 5.0.0.235-RC.war

    Google Groups | 10 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.
  6. 0

    Jax-ws war deploys, but gives 404 on tomcat

    Stack Overflow | 8 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.

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

      at org.apache.tomcat.util.descriptor.LocalResolver.resolveEntity()
    2. Pax Jsp
      LocalResolver.resolveEntity
      1. org.apache.tomcat.util.descriptor.LocalResolver.resolveEntity(LocalResolver.java:151)
      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.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      9. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      9 frames
    4. Glassfish Core
      Catalina.start
      1. org.apache.tomcat.util.digester.Digester.parse(Digester.java:1675)
      2. org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:452)
      3. org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:408)
      4. org.apache.catalina.startup.TldConfig.execute(TldConfig.java:320)
      5. org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:688)
      6. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      7. org.apache.catalina.core.StandardContext.start(StandardContext.java:4616)
      8. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
      9. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
      10. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
      11. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1080)
      12. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1003)
      13. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507)
      14. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
      15. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)
      16. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      17. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
      18. org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
      19. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
      20. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      21. org.apache.catalina.core.StandardService.start(StandardService.java:525)
      22. org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
      23. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      23 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    6. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      2 frames