Women in Technology

Hear us Roar



Article:
  Deploying Web Applications to Tomcat
Subject:   Problem with Tag Library
Date:   2001-05-07 08:53:25
From:   juan_alvarado
I get the following message when welcome.jsp is suppose to show up on my screen:


org.apache.jasper.compiler.CompileException: C:\tomcat\webapps\onjava\welcome.jsp(0,0) Unable to open taglibrary /onjava : Parse Error in the tag library descriptor: External entity not found: "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd".
at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:713)
at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:194)
at com.onjava.login.doPost(login.java:52)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)


Your help would be appreciatted.


Thanks,


Juan Alvarado
juan2000@aol.com

Main Topics Oldest First

Showing messages 1 through 2 of 2.

  • Problem with Tag Library
    2001-09-17 04:57:04  xxlfalcon [View]

    Try opening the web.xml file within XML-SPY. XML-SPY will complain about the link to the dtd file

    http://java.sun.com/j2ee/dtds/web-app_2_3.dtd.

    It looks like this file is replaced by the following link.

    http://java.sun.com/dtd/web-app_2_3.dtd

    Replacing the string solved my problem.
  • Problem with Tag Library
    2001-08-29 21:34:24  vivianchiu [View]

    I also have the same problem as Juan's,
    can anyone help?