Dennis

Thanks for your answer.

In this case I had the liberty of having the .java file which I could bring
in and recompile - but what if it had been a proprietary bean class?  ... so
much for write once- run anywhere ... heh

John

-----Original Message-----
From: Dennis Meerveld
To: '[EMAIL PROTECTED]'
Sent: 3/30/01 12:52 AM
Subject: RE: I don't get it...

Hi,

I'm fairly new to Tomcat, but by bringing in a Bean class, do you mean
addressing
it in a JSP ? If so, be sure your <%@ page import =
"oracle.sqlj.runtime.Oracle" %>
is specified. 

If you're running it as a servlet, verify the import statement is
included.

Hope this helps.. :)

Dennis

-----Original Message-----
From: John Towell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 6:43 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: I don't get it...


I bring in a Bean class that imports an oracle class that's not on my
tomcat
server, so I get a:
'Class oracle.sqlj.runtime.Oracle not found in import.' error

OK - so I bring in the appropriate jar file and put it in
$TOMCAT_HOME/lib
and restart tomcat.  I look at messages and tomcat has reported the
classpath as including the newly added jar files.  

But when I rerun the Bean class, I'm still getting the same 'not found
in
import' error.

If tomcat knows the jar file is there, how can it not be finding the
imported class file? 

What am I missing here?

Thanks - John

Reply via email to