`

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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics