aspose file tools*
The moose likes Distributed Java and the fly likes Error when run RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Error when run RMI" Watch "Error when run RMI" New topic
Author

Error when run RMI

kien kun
Greenhorn

Joined: Feb 15, 2012
Posts: 27
C:\Users\kien\Documents\NetBeansProjects\JavaComunication\build\classes\RMI>rmic
-vcompat -keep HelloImpl
error: File .\HelloImpl.class does not contain type HelloImpl as expected, but type RMI.HelloImpl. Please remove the file, or make sure it appears in the correc
t subdirectory of the class path.
error: Class HelloImpl not found.
2 errors


I can't repair it.Can you help me?
Thank you
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3568
    
  15
The name of your class is RMI.HelloImpl but you are trying to run a class called HelloImpl


Joanne
kien kun
Greenhorn

Joined: Feb 15, 2012
Posts: 27
Joanne Neal wrote:The name of your class is RMI.HelloImpl but you are trying to run a class called HelloImpl

Thank you.I found my error.
 
wood burning stoves
 
subject: Error when run RMI