Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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: 17278
6
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic