0
이 오류가 발생하고 가능한 모든 것을 시도했지만이 문제를 해결하기 위해 문제를 해결할 수 없습니다.Eclipse에서 Java RMI 문제
Eclipse Indigo IDE를 사용하고 있습니다.
시작 rmiregistry
cmd
입니다.
Exception:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: RMISIntf
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: RMISIntf
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:419)
...................
답장을 보내 주셔서 감사합니다. 하지만 여전히 나에게 같은 오류가 발생했습니다. 내 서버와 클라이언트는 모두 같은 컴퓨터에 있습니다. Eclipse IDE를 사용하고 있습니다. 이 문제를 해결하는데 도움을주세요. – user2082252
@ user2082252 LocateRegistry.createRegistry()를 통해 레지스트리를 시작하면'bind()/rebind()'메소드에서'ClassNotFoundException'을 래핑하는'ServerException'을 실제로 던지고 있습니까? – EJP
예 동일한 예외가 발생합니다. – user2082252