tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Pushee <bri...@giantsquid.net>
Subject Initial Setup: The type java.lang.Object cannot be resolved.
Date Fri, 16 Nov 2007 17:36:45 GMT
I'm pretty sure I've just configured something wrong: I can see load 
pre-generated pages with my tomcat installation (ie: already compiled 
servlet pages and the like), but whenever I try to load a new *.jsp file 
(even a simple 'hello world' page with no JSP tags at all) tomcat prints 
the following error:

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

Generated servlet error:
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class
files


	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:305)
	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)

I am running a debian install of tomcat5.5, using java-gcj-compat-dev (a 
free jdk replacement).

Any help or suggestions would be greatly appreciated.
Thanks,
-Ian

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message