0

我有 rmiregistry 的问题。我收到以下错误:

Cannot bind to URL [rmi://........]: javax.naming.NamingException [Root exception is java.rmi.UnexpectedException: undeclared checked exception; nested exception is: 
                java.lang.ClassNotFoundException: Could not find class (javax.management.remote.rmi.RMIServerImpl_Stub) at codebase ()]

我检查了,类存在于类路径中。

我在 Linux 上使用了 java 1.6。我开始了rmiregistry 6667。有没有人遇到过这个错误?

4

1 回答 1

0

class exist in the classpath.

In your JVM's classpath. It is also needed on the Registry's classpath, and the client's.

于 2011-09-13T07:17:10.513 回答