This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 3432
    
  12
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error when run RMI
 
Similar Threads
Problem in using rmic
Can we pass this object on wire?
unable to invoke RMI-help
Access Control Exception
Spring Web Service annotations