A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
error during compile!!
Joined: Jan 05, 2001
Jan 08, 2001 23:53:00
hello, please clarify my doubts in funda,
when i am compiling interface implementation programme the following error occurs.
"the interface not found "
what should i do?
i have not set classpath for rmi.should i give class path?
thanks in advance.
Joined: Nov 26, 2000
Jan 16, 2001 02:19:00
You do have to set the classpath to the current directory
or the directory where you have stored your interface.
Joined: Jul 15, 2000
Jan 30, 2001 15:58:00
make sure your methods are public. Or visible at least, like protected.
It may also be that you have to do an import, or specify the package. com.mystuff.MyInterface
I agree. Here's the link:
subject: error during compile!!
JBoss3.0 can't support EJB2.0?
Why DBAccess is not a valid Remote interface?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015