• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.rmi.NotBoundException  RSS feed

 
supratim chaudhury
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what are the reasons for this exception and hoe to remove it?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The reason for this exception - your program is using Naming.lookup("name"), and there is nothing bound in the rmi registry using that name.

How to fix it - 2 ways - if you are using the same name the server is actually using, then bind the server in the registry before looking it up If you are using a different name than the server is using (watch out for misspellings!) then use the same name
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!