PDA

View Full Version : RMI VS Netbeans


trifabio
06-06-2007, 11:35
Usiamo netbeans per sviluppare un progetto, arrivati alla creazione dell'oggetto remoto e della sua implementazione, una volta lanciato il comando rmic RObjectImpl da l'errore

1 error: File .\RObjectImpl.class does not contain type RObjectImpl as expected,
but type Nibbler.RObjectImpl. Please remove the file, or make sure it appears in
the correct subdirectory of the class path.
error: Class RObjectImpl not found.
2 errors

Provando invece a compilarlo con rmic Nibbler.RObjectImpl (dove Nibbler e' il nome del package) l'errore e':

Class Nibbler$RObjectImpl not found

^TiGeRShArK^
06-06-2007, 12:42
:mbe:
ma state usando una versione di java precedente alla 5, vero? :fagiano:
no, xkè con la 5 non mi pare di aver mai usato rmic x RMI :fagiano: