Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-28-2011, 01:44 PM   PM User | #1
daveisme
New to the CF scene

 
Join Date: Jan 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
daveisme is an unknown quantity at this point
Question Problem with JSP

Hi guys
I'm new at JSP, and I've to run an ex-collegue software.

It's Java + JSP, usin' Apache Tomcat. When I run Tomcat and I try to open the Default.jsp page, here's what appears:

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Code:
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: Unable to compile class for JSP: 

An error occurred at line: 6 in the generated java file
Only a type can be imported. Extenders.SessionExtender resolves to a package

An error occurred at line: 53 in the jsp file: /WebContent/Default.jsp
SessionExtender cannot be resolved
50: </body>	
51: <%
52: 	//on unload page 
53:     SessionExtender.getSessionExtender(session).getErrorBean().setUrlTyped("Default.jsp"); 
54: %>
55: </html>


Stacktrace:
	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:95)
	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:367)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:345)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:342)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
	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.6 logs.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

I really don't know which error is...
Does some of you have an idea of what could be the problem?

Thank you very much! :-)
daveisme is offline   Reply With Quote
Reply

Bookmarks

Tags
html, java, jsp, software

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:26 PM.


Advertisement
Log in to turn off these ads.