You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matt Goss <mg...@rtci.com> on 2001/03/08 20:46:40 UTC

jasperException???????

Hi everyone!
does anyone know what would cause this exception to be thrown?
org.apache.jasper.JasperException: object is not an instance of
declaring class
I'm trying to call a method of a bean on a page using a scritplet :
<%=tmpcomp2.getDescription()%>
The bean is instantiated on the page vi the tag
<jsp:useBean id="tmpcomp2" class="com.blah.Component" scope="session"/>

any clues????
Matt