rose java.lang.classnotfoundexception错误解决

转:http://gaterking.blog.51cto.com/69893/58015

转:http://blog.csdn.net/telnetor/archive/2008/02/23/5555139.aspx

ROSE 2003安装完后启动提示"java.lang.ClassNotFoundException"。Windows XP SP2和Windows Server 2003都有这样的问题。
方法一:用SHW32.DLL覆盖Rose 2003中的该文件。该方法在Windows XP实践成功。
方法二: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
"c:\windows\java\trustlib\rosedatamodeler.zip;
c:\windows\java\trustlib\comwrappers.zip;
c:\windows\java\trustlib\xerces.jar;"
例如
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.重新运行Rose,在"Add-In Manager"选项卡中选中"Web Modeler add-in using" .
该方法是Rose官方解决方法,在Windows Server 2003中实践成功。
/
问题描述:
启动时报错java.lang.ClassNotFoundException,软件可以启动
在退出时报错java.lang.NullPointerException,而且软件还无法退出
解决办法:软件启动以后在工具栏-adds-in里面把Web Modeler禁用了即可。
解释:
This sounds like you have either installed an incompatible JDK on your machine (not likely as Rose works with most) or your java class path has been corrupted. The addins written in Java are Web Modeling, Data Modeling (Both based on the MSJVM), deployment, patterns, and Toplink (All three pure Java). Try disabling these addins and see if the problem goes away. You should take a look at your class path and see if it makes sense. Sometimes, if you have a lot of Java Apps on your machine, the class path can get too long and be truncated. This may have happened to your install.

本文来自CSDN博客,转载请标明出处: http://blog.csdn.net/telnetor/archive/2008/02/23/5555139.aspx
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值