RMI ClassNotFoundException

时间:2011-09-12 11:18:14

标签: java rmi jmx classnotfoundexception rmiregistry

我对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。 有没有人遇到过这个错误?

1 个答案:

答案 0 :(得分:0)

  

类存在于类路径中。

JVM的类路径中。在Registry的类路径和客户端上也需要它。

相关问题