我对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上使用了java1.6。我创办了rmiregistry 6667。有人遇到过这个错误吗?
发布于 2011-09-13 07:17:10
类路径中存在
类。
在JVM的类路径中。它也需要在注册表的类路径,和客户的。
https://stackoverflow.com/questions/7387031
复制相似问题