zoukankan      html  css  js  c++  java
  • Rose启动提示"java.lang.ClassNotFoundException"的解决

    安装完ROSE 2003后启动老提示"java.lang.ClassNotFoundException"。
    方法一:下载SHW32.DLL文件覆盖Rose 2003中的该原文件即可。
    方法二:修改注册表
        1.打开注册表
        2.定位到"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM"
        3.新建项TrustedClasspath [REG_SZ](字符串值)
        4.其数值数据为
        (1)windows 2000
         "c:\winnt\java\trustlib\rosedatamodeler.zip;c:\winnt\java\trustlib\comwrappers.zip;c:\winnt\java\trustlib\xerces.jar;"
        (2)windows xp/2003
        "c:\windows\java\trustlib\rosedatamodeler.zip;c:\windows\java\trustlib\comwrappers.zip;c:\windows\java\trustlib\xerces.jar;"
        5.重新运行Rose,在"Add-In Manager"选项卡中选中"Web Modeler add-in using" .
        该方法是Rose官方解决方法,在Windows Server 2003中实践成功。

    官方提供的解决方案原文如下:

    Problem
    Enabling the Web Modeler Add-In in Rose produces a 'java.lang.ClassNotFoundException'

    Solution
    SYMPTOM:

    Activating the Web Modeler add-in gives warning
    "java.lang.ClassNotFoundException".
    Immediately exiting Rose results in a "java.lang.NullPointerException" warning
    and the rose does not respond.

    CAUSE:

    This is usually due to a broken Microsoft Java VM, but may be due to a missing
    Registry entry.

    RESOLUTION:

    First, confirm that the Windows Registry value "TrustedClasspath" exists under
    the key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM".

    This value must exist and contain the file paths:
    c:\winnt\java\trustlib\rosedatamodeler.zip;
    c:\winnt\java\trustlib\comwrappers.zip;
    c:\winnt\java\trustlib\xerces.jar;


    Steps:
    1. Run RegEdit: use Windows "Start" menu > Run... > type 'regedit' and
    hit Enter.

    WARNING: RegEdit will let you modify information critical to operating the
    computer. Before editing the Registry, make sure you understand how to restore
    it if a problem occurs.

    For more information see the "Restoring the Registry" Help-topic in RegEdit or
    RegEdit32.

    2. Browse to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM"
    3. If TrustedClasspath does not exit, create it as a new String Value.
    4. If TrustedClasspath does not have the paths listed above, add them to the
    list separated by semicolons.

    EXAMPLE:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM
    TrustedClasspath [REG_SZ]
    = "c:\winnt\java\trustlib\rosedatamodeler.zip;
    c:\winnt\java\trustlib\comwrappers.zip;
    c:\winnt\java\trustlib\xerces.jar;"

    5. Run Rose and turn on the Web Modeler add-in using the Add-In Manager

    微软BI技术交流群:316744959 武汉NET技术群:961108969 NET技术群:21386099 本人具有丰富的系统开发经验,承接系统开发,小程序,NET系统开发,BI开发,有需求联系微信手机:15010195887
  • 相关阅读:
    玩聚网和百度新闻的技术差异性
    拿下“[warn] (OS 64)指定的网络名不再可用”错误
    转型要回答的四个问题和一根筋变形Push法
    奇虎之奇酷改版为热点memeTracker之分析
    新媒体的运营之道【三】
    疑似BUG:Python SGMLParser处理html中的javascript失当
    智能语义参透股票 小公司不见得比输大公司
    新SNS的创立和运营之道[360圈座谈]
    在路上:语义和创业
    论Push!
  • 原文地址:https://www.cnblogs.com/Impulse/p/1251182.html
Copyright © 2011-2022 走看看