RMI-Problem

Hi,

I have a problem getting a program to start.
Each time I start it, I get the following error:

java.rmi.StubNotFoundException: Stub class not found: MiddleServer.MidServerRemoteQueue_Stub;
nested exception is: java.lang.ClassNotFoundException: MiddleServer.MidServerRemoteQueue_Stub

Sorry, I can’t give you more details now…
but I hope someone can tell me what this means.
The Java API docs didn’t help me :frowning:

Many greetings,
Adam.

(It worked on another computer without any modifications. Maybe it’s just a problem with my paths?)

Are you sure your ran rmic on the proper classes?

[quote]Are you sure your ran rmic on the proper classes?
[/quote]
I must admit, that i didn’t run rmic at all. I thougt this was only neccessary on older versions of java?
At least this is what I’ve read in an online tutorial.
On my other computer I just ran it out of the IDE (it uses the java.exe). But now it doesn`t work anymore.
I use java 1.4.1 on my other computer, here I have 1.4.2beta - could this be the problem?
I’ll go and have a look at rmic right now…

Tada!!!

You where right Mojomonkey!
I got the compiled classes (incl. _stub) from a cvs server.
Here at home I compiled everything new without errors.
So I think I didn’t understand what it really was about the stub classes…
and what was different in earlier versions.

Thank you for the help!

Adam.