After installing rose 2003, start the old prompt "Java. Lang. classnotfoundexception ". Method 1: Download The shw32.dll file to overwrite the original file in Rose 2003. Method 2: Modify the Registry
1. open Registry 2. go to "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Java VM" 3. create item trustedclasspath [REG_SZ] (string value) 4. the value is (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. run rose again. On the D-In Manager tab, select "Web modeler add-in using". This method is an official solution of Rose and is successfully applied in Windows Server 2003.
The official solution is as follows:
Problem
Enabling the Web modeler add-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
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
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