I
IKerr.
Hi,
I am having great trouble in getting an rmi project to cleanly compile. I
have been stuck on this for ages and am about to abandon it or chuck the
machine out the window. Please help, i need to get this working urgently.
Compile error is:
--------------------Configuration: PaintShop - j2sdk1.4.1_02
c:\inetpub\wwwroot--------------------
C:\Program Files\Xinox Software\JCreator
Pro\MyProjects\PaintShop\PaintShop\Model.java:54: cannot access
PaintShop.PaintShopServerInterface
bad class file: C:\Program Files\Xinox Software\JCreator
Pro\MyProjects\PaintShop\PaintShop\PaintShopServerInterface.class
class file contains wrong class: PaintShopServerInterface
Please remove or make sure it appears in the correct subdirectory of the
classpath.
public PaintShopServerInterface server;
^
1 error
I don't know why on line 3 above it says PaintShop.PaintShopServerInterface,
because PaintShopServerInterface is not in package PaintShop.
Okay, so it tells me what is wrong - but I don't how to fix it. The model
etc are in a package called "PaintShop". The reference to the server
interface object in the model is
public PaintShopServerInterface server;
the bind is
server = (PaintShopServerInterface)
Naming.lookup(RMIHOST+RMISERVERPORT+RMISERVER);
Class PaintShopServer is not in a package and implements
PaintShopServerInterface.
PaintShopServerInterface is not in a package.
Hope that someone out there can help 'cause I sure need it
Iain
I am having great trouble in getting an rmi project to cleanly compile. I
have been stuck on this for ages and am about to abandon it or chuck the
machine out the window. Please help, i need to get this working urgently.
Compile error is:
--------------------Configuration: PaintShop - j2sdk1.4.1_02
c:\inetpub\wwwroot--------------------
C:\Program Files\Xinox Software\JCreator
Pro\MyProjects\PaintShop\PaintShop\Model.java:54: cannot access
PaintShop.PaintShopServerInterface
bad class file: C:\Program Files\Xinox Software\JCreator
Pro\MyProjects\PaintShop\PaintShop\PaintShopServerInterface.class
class file contains wrong class: PaintShopServerInterface
Please remove or make sure it appears in the correct subdirectory of the
classpath.
public PaintShopServerInterface server;
^
1 error
I don't know why on line 3 above it says PaintShop.PaintShopServerInterface,
because PaintShopServerInterface is not in package PaintShop.
Okay, so it tells me what is wrong - but I don't how to fix it. The model
etc are in a package called "PaintShop". The reference to the server
interface object in the model is
public PaintShopServerInterface server;
the bind is
server = (PaintShopServerInterface)
Naming.lookup(RMIHOST+RMISERVERPORT+RMISERVER);
Class PaintShopServer is not in a package and implements
PaintShopServerInterface.
PaintShopServerInterface is not in a package.
Hope that someone out there can help 'cause I sure need it
Iain