Rose startup prompts "Java. Lang. classnotfoundexception" SOLUTION

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.