I am trying to set up Apache Tomcat6.0.13 for jsp development.  I have
followed all instructions I can find for installation.

I installed java jdk1.6.0_01.

I set the port for Tomcat to 80,
the JavaHome environment variable to C:\Program Files\Java\jdk1.6.0_01
and the ClassPath to *CLASSPATH=.;C:\Program Files\Apache Software
Foundation\Tomcat 6.0lib\servlet-api.jar;C:\Program Files\Apache Software
Foundation\Tomcat 6.0\lib\jsp-api.jar

I startup the Tomcat server.  I can access http://localhost and it takes me
to the tomcat site.  If I run http://localhost/hello.html It displays the
expected site.  If I run http://localhost/hello.jsp I get the following HTTP
Status 500 exception:

*

org.apache.jasper.JasperException: File
"/WEB-INF/jsp2/jsp2-example-taglib.tld" not found
        
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
        
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
        
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
        
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:160)
        org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:420)
        org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
        org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
        org.apache.jasper.compiler.Parser.parse(Parser.java:133)
        
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
        
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

I have tried other .jsp files and they do not work either.
I am not sure if I need to change some of the configuration settings, or
something else.

Any help would be very appreciated.

Thanks

Reply via email to