tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Diaz <richdia...@yahoo.com>
Subject Can't convert * to Object. Object page = this;
Date Thu, 20 Sep 2001 19:51:50 GMT
(can someone please email me if this message makes it
to the list serv? I don't think my 1st message made
it. thanks)

Hi I keep getting this error in TOMCAT.

I have been developing with no problems, I installed
Cold Fusion server and now none of my java classes
compile in TOMCAT. I removed Cold Fusion and
deinstalled all my sun JRE & SDK and reintalled them.
I ran norton to remove any bad registry entries too.

Yes I did search the TOMCAT archives for this error
quite a bit. I've been trying so many dam things, yet
I get the SAME result. This error =P

many, many thanks in advance,
Rich

Win 98se
Sun 1.3.1.
Tomcat 3.2

Error: 500
Location: /twc/loginView.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile
class for
JSPC:\tomcat\work\localhost_8080%2Ftwc\_0002floginView_0002ejsploginView_jsp_0.java:37:
Incompatible type for declaration. Can't convert
_0002floginView_0002ejsploginView_jsp_0 to Object.
        Object page = this;
               ^
1 error

	at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
	at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
	at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at
org.apache.tomcat.core.Handler.service(Handler.java:287)
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:484)




__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

Mime
View raw message