You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/08/04 22:30:09 UTC

DO NOT REPLY [Bug 40187] New: - Unable to compile class for JSP

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


DO NOT REPLY [Bug 40187] - Unable to compile class for JSP

Posted by bu...@apache.org.
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


aavijeh@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




-- 
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


DO NOT REPLY [Bug 40187] - Unable to compile class for JSP

Posted by bu...@apache.org.
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


markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From markt@apache.org  2006-08-07 22:59 -------
Bugzilla is not a support forum. Please direct your enquiry to the
users@tomcat.apache.org list.

-- 
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