• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI problem

 
Le Wang
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tested my application with putting all classes about client and server in a same directory, it is OK. But there are some errors when I try to deploy the client and server seperately. The eception:java.lang.ClassCastException: server.FBNAdapter_Stub.
someone can help me?
Thanks in advance!
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like you get this from the client when you seperate it. That's becuase both the client and the server need the stub and skeleton files
Hope that helps
Mark
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!