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;"
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;"
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;"
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中实践成功。
本文出自 “SeaSonS ” 博客,请务必保留此出处http://gaterking.blog.51cto.com/69893/58015
本文出自 51CTO.COM技术博客