• Post Reply Bookmark Topic Watch Topic
  • New Topic

urgent help needed :serverstub not found

 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 2 jar files client & server. when i start my client it says ClassNotfoundException:ServerStub not found. What is the reason for this error ?
My server has been started and listening to default port. I dont have any server classes in my client.jar.
Iam i missing something. i dont have any policy file. what is the use of it and how i should i use it. when i run the program without jars it works fine.
Thanks.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you need to include the stubs in your client for it to work in remote mode.
Mark
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!