0

私は、Java RMI-IIOP サーバーと CORBA-C++ クライアントを作成するプロジェクトに取り組んでいます。rmic -idl を使用して、Java インターフェイスから IDL を生成します。しかし、生成されたidlをコンパイルすると、次のエラーが発生したため、インターフェイスに何か問題があると思います。

./WishlistInterface.idl:33: java/io/FileNotFoundEx.idl: No such file or directory
./WishlistInterface.idl:102: java/util/ArrayList.idl: No such file or directory
./WishlistInterface.idl:103: java/io/File.idl: No such file or directory
./WishlistInterface.idl:80: scoped name '::java::io::FileNotFoundEx' not defined

そして、これが私たちのインターフェースです:

import java.io.File;
import java.io.FileNotFoundException;
import java.rmi.RemoteException;
import java.util.ArrayList;

public interface WishlistInterface extends java.rmi.Remote {

public int secureLogin(String username, long checksum) throws RemoteException;
public ArrayList<Wish> getUnreceivedWishes(String username)throws RemoteException;
public void createWishlist(String wishlistTitle) throws RemoteException;          
public File downloadWishlist(String wishlistTitle, String username) throws FileNotFoundException, RemoteException;           
public void logout(String username) throws RemoteException;   
}

正確には何が間違っているのですか?どうも!

4

0 に答える 0