×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

who can tell me how to use Weblogic 5.1 RMI complier ?

who can tell me how to use Weblogic 5.1 RMI complier to produce a stub and skeleton?
I don't know why it always say
java.Lang.NoclassDefFoundError: com/sun/java/util/collections/ArrayList
at weblogic.util.compiler.CodeGenerator.gernerate<Compiler code>
at weblogic.rmic.runBody<rmic.java:54>
at weblogic.utils.compiler.Tool.run<Tool.java:80>
at weblogic.rmic.main<rmic.java:96>
when use "java weblogic.rmic myRMIImpl_class" to produce stub and skeleton.
why it can not find the ArrayList.class ?something wrong with my classpath setting ? or wrong at some JDK enviroment setting?
I would appreciate if someone can teach me.
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / who can tell me how to use Weblogic 5.1 RMI complier ?
    who can tell me how to use Weblogic 5.1 RMI complier to produce a stub and skeleton?
    I don't know why it always say
    java.Lang.NoclassDefFoundError: com/sun/java/util/collections/ArrayList
    at weblogic.util.compiler.CodeGenerator.gernerate<Compiler code>
    at weblogic.rmic.runBody<rmic.java:54>
    at weblogic.utils.compiler.Tool.run<Tool.java:80>
    at weblogic.rmic.main<rmic.java:96>
    when use "java weblogic.rmic myRMIImpl_class" to produce stub and skeleton.
    why it can not find the ArrayList.class ?something wrong with my classpath setting ? or wrong at some JDK enviroment setting?
    I would appreciate if someone can teach me.
    • You missed a class from SUN in your classpath
    • com.....ArrayList is a class in a jar file under your Weblogic installation. Try to find it and include this jar file into the CLASSPATH
      • jabber, I have got it down. I did not set "c:\weblogic\lib\weblogicaux.jar" in the CLASSPATH. Thanks! you are very kind.I am very sorry to know you are on bench.but I am sure it will not last too much time. good luck!
        • Sooner or later, most people in this forum will experience similar things