Author | Message |
---|---|
swu4
Posts: 10
|
Posted 20:09 Jan 13, 2012 |
Though I setup everything right before the "Deployment on CS3" section, I ran into a problem. When I try to access "http://localhost:8080/webtest/HelloJSTL.jsp", I get the error below. I'm not sure what to do about it:
HTTP Status 500 -type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:56) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:410) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:117) org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:311) org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:152) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:410) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:475) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1425) org.apache.jasper.compiler.Parser.parse(Parser.java:138) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:242) org.apache.jasper.compiler.ParserController.parse(ParserController.java:102) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198) org.apache.jasper.compiler.Compiler.compile(Compiler.java:373) org.apache.jasper.compiler.Compiler.compile(Compiler.java:353) org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.23 logs. Apache Tomcat/7.0.23 |
cysun
Posts: 2935
|
Posted 20:35 Jan 13, 2012 |
You probably didn't copy the jar files to the Tomcat lib folder. |
swu4
Posts: 10
|
Posted 20:47 Jan 13, 2012 |
When I took a look, I didn't see the JAR files, so I thought that I might have misplaced them. So when I transferred all 4 files, again ran the application and tried to access the URL, it still didn't work...
EDIT: OK, nevermind... it works now. Thanks. Last edited by swu4 at
21:10 Jan 13, 2012.
|