tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40187] New: - Unable to compile class for JSP
Date Fri, 04 Aug 2006 20:30:09 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40187>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40187

           Summary: Unable to compile class for JSP
           Product: Tomcat 5
           Version: 5.0.17
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: aavijeh@yahoo.com


When I want to compile simple jsp file I get this error.I have set the tomcat
main directory with a path without spaces,and nothing changed.
I have no problem for running servlets or htmls.
How should I solve the problem.
this is my error report.

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 compile class for JSP

Generated servlet error:
org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type

Generated servlet error:
org.apache.jasper.runtime.JspSourceDependent cannot be resolved to a type

Generated servlet error:
HttpServletRequest cannot be resolved to a type

Generated servlet error:
HttpServletResponse cannot be resolved to a type

Generated servlet error:
ServletException cannot be resolved to a type

Generated servlet error:
JspFactory cannot be resolved to a type

Generated servlet error:
PageContext cannot be resolved to a type

Generated servlet error:
HttpSession cannot be resolved to a type

Generated servlet error:
ServletContext cannot be resolved to a type

Generated servlet error:
ServletConfig cannot be resolved to a type

Generated servlet error:
JspWriter cannot be resolved to a type

Generated servlet error:
JspWriter cannot be resolved to a type

Generated servlet error:
PageContext cannot be resolved to a type

Generated servlet error:
JspFactory cannot be resolved

Generated servlet error:
SkipPageException cannot be resolved to a type


	org.apache.jasper.servlet.JspServletWrapper.handleJspException
(JspServletWrapper.java:510)
	org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:375)
	org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause 

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type

Generated servlet error:
org.apache.jasper.runtime.JspSourceDependent cannot be resolved to a type

Generated servlet error:
HttpServletRequest cannot be resolved to a type

Generated servlet error:
HttpServletResponse cannot be resolved to a type

Generated servlet error:
ServletException cannot be resolved to a type

Generated servlet error:
JspFactory cannot be resolved to a type

Generated servlet error:
PageContext cannot be resolved to a type

Generated servlet error:
HttpSession cannot be resolved to a type

Generated servlet error:
ServletContext cannot be resolved to a type

Generated servlet error:
ServletConfig cannot be resolved to a type

Generated servlet error:
JspWriter cannot be resolved to a type

Generated servlet error:
JspWriter cannot be resolved to a type

Generated servlet error:
PageContext cannot be resolved to a type

Generated servlet error:
JspFactory cannot be resolved

Generated servlet error:
SkipPageException cannot be resolved to a type


	org.apache.jasper.compiler.DefaultErrorHandler.javacError
(DefaultErrorHandler.java:84)
	org.apache.jasper.compiler.ErrorDispatcher.javacError
(ErrorDispatcher.java:328)
	org.apache.jasper.compiler.JDTCompiler.generateClass
(JDTCompiler.java:414)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
	org.apache.jasper.JspCompilationContext.compile
(JspCompilationContext.java:563)
	org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:303)
	org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message