This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI problem: java.lang.ClassNotFoundException: Interface

 
Dupont Girard
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i am encountering some difficulties to set a RMI communication, this is my code:

Server:


Client:



I run rmic thanks to my build.xml "Ant"


it gives Stub and Skeleton, but when i execute this i get this error on my client:



I note that dao.DAOInt is located on my server !


Can someone help me Please

 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11881
196
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does your interface look like?
 
David Lidz
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like an interface problem, have you implemented UnicastObejct and Remote respectivly?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic