tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From teh j <tomcat_list2...@yahoo.com.au>
Subject inheritance and beans
Date Mon, 07 May 2001 06:03:17 GMT
Hello There!

I was wondering if anybody could help me with a little
problem I have?

I have a Tomcat based jsp application and I am trying
to you a bean that inherits the functionality of
another bean. However, when the base bean is
instantiated, I get this error message;

Error: 500
Location:
/test/jason/alter_event/alter_event_handler.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile
class for JSPerror: File
/export/home/jasont/dev_tom/jakarta-tomcat-3.2.1/webapps/test/WEB-INF/classes/alterEvent/alterEvnt.java
does not contain type alterEvent.alterEvnt as
expected. Please adjust the class path so that the
file does not appear in the package alterEvent.
/export/home/jasont/dev_tom/jakarta-tomcat-3.2.1/work/localhost_8080%2Ftest/_0002fjason_0002falter_0005fevent_0002falter_0005fevent_0005fhandler_0002ejspalter_0005fevent_0005fhandler_jsp_0.java:60:
Class alterEvent.alterEvnt not found.
                alterEvent.alterEvnt alterEventBean =
null;
                          ^
/export/home/jasont/dev_tom/jakarta-tomcat-3.2.1/work/localhost_8080%2Ftest/_0002fjason_0002falter_0005fevent_0002falter_0005fevent_0005fhandler_0002ejspalter_0005fevent_0005fhandler_jsp_0.java:63:
Class alterEvent.alterEvnt not found.
                    alterEventBean=
(alterEvent.alterEvnt)
                                               ^
/export/home/jasont/dev_tom/jakarta-tomcat-3.2.1/work/localhost_8080%2Ftest/_0002fjason_0002falter_0005fevent_0002falter_0005fevent_0005fhandler_0002ejspalter_0005fevent_0005fhandler_jsp_0.java:68:
Class alterEvent.alterEvnt not found.
                            alterEventBean =
(alterEvent.alterEvnt)
Beans.instantiate(this.getClass().getClassLoader(),
"alterEvent.alterEvnt");
                                                      
 ^
4 errors

	at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
	at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
	at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
	at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at
org.apache.tomcat.core.Handler.service(Handler.java:286)
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)

I am a little uncertain of what is going on. Perhaps
it has something to do with the types of the beans?

Any help os appreciated!

Thanks!
Jason

_____________________________________________________________________________
http://store.yahoo.com.au - Yahoo! Store
- It's time you had your business online!

Mime
View raw message