//本地接口 package securitybeans; import java.rmi.RemoteException; import javax.ejb.EJBHome; import javax.ejb.CreateException; public interface SecurityHome extends EJBHome{ Security create() throws CreateException, RemoteException; } 編譯後出的錯誤信息如下: SecurityHome.java:6cannot resolve symbol symbol :class Security location : interface securitybeans.SecurityHome Security create()throws CreateException, RomoteException; ^ 1 error //Security是遠程接口,已編譯生成了Security.class文件,並和Security.java在同一目錄下 Security.java源代碼如下: package securitybeans; import java.rmi.RemoteException; import Javax.ejb.EJBObject; public interface Security extends EJBObject{ public String encrypt( String strSource ) throws RemoteException; public String decrypt( String strTarget ) throws RemoteException; } //我該如何解決此問題