Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » HTTP Status 500 - JasperException
HTTP Status 500 - JasperException [message #883530] Fri, 08 June 2012 18:08 Go to next message
Jason Vance is currently offline Jason VanceFriend
Messages: 2
Registered: June 2012
Junior Member
Hi all,

I am an Eclipse newb, and have been given a web project to manage. I have consulted with the previous designer and have various tasks in Eclipse clearly outlined in order to publish content changes.

I preview the site locally on localhost:8080 and verify content changes there before exporting the project to .war and extracting it on the live site.

Last night the local server was running fine, then all of a sudden this morning, I am getting two different HTTP 500 Server errors that display randomly upon refreshing the index page:

Error #1:

HTTP Status 500 -

Type: Exception Report

Description: The server encountered an internal error () that prevented it from fulfilling this request.

Exception:

org.apache.jasper.JasperException: File "/WEB-INF/struts-tiles.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:430)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:499)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1558)
org.apache.jasper.compiler.Parser.parse(Parser.java:130)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:245)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:161)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:326)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:307)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

Error #2

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: Unable to load class for JSP
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:599)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:143)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:323)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

root cause

java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
java.net.URLClassLoader$1.run(Unknown Source)
java.net.URLClassLoader$1.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(Unknown Source)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:597)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:143)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:323)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.34 logs.

The file, "/WEB-INF/struts-tiles.tld" is indeed still there. I have a feeling something happened to the document root path as it appears to be looking in the wrong folder for files that don't exist there.

Does anyone have any ideas how to correct this?

Thank you.
Re: HTTP Status 500 - JasperException [message #883538 is a reply to message #883530] Fri, 08 June 2012 18:31 Go to previous messageGo to next message
Jason Vance is currently offline Jason VanceFriend
Messages: 2
Registered: June 2012
Junior Member
Found a fix to my problem by right clicking on the server and selecting "Clean". While I had thought of this, the pulldown menu Project/Clean didn't work for me.
Re: HTTP Status 500 - JasperException [message #1235735 is a reply to message #883530] Sat, 25 January 2014 04:44 Go to previous message
bahar radfar is currently offline bahar radfarFriend
Messages: 1
Registered: January 2014
Junior Member
hi i have the same problem
can any one help me
  • Attachment: help.txt
    (Size: 2.27KB, Downloaded 658 times)
Previous Topic:Which Eclipse do I need?
Next Topic:Find/Replace with Regex
Goto Forum:
  


Current Time: Tue Apr 23 08:11:51 GMT 2024

Powered by FUDForum. Page generated in 0.07815 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top