简体   繁体   中英

RMI ClassNotFoundException

I have problem with rmiregistry. I'm getting below error:

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 ()]

I checked, class exist in the classpath.

I used java 1.6 on linux. I started rmiregistry 6667 . Has anyone met with this error?

class exist in the classpath.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM