Warning:could not Open/create prefs root node software\javasoft\prefs at root 0x80000002. Windows R__java

Source: Internet
Author: User

When you started Tomcat with eclipse yesterday, you suddenly noticed an exception message, "Could not open/create prefs root node software\javasoft\prefs atroot 0x80000002. Windows RegCreateKeyEx (...) returned error code 5 ",


Although it does not affect the operation of Tomcat, the program can run normally, but since the error is certainly a hidden danger, so decided to solve the problem.

In bd//Open source, csdn have not found an effective solution, but with Google, are all English .... My English is very bad wow .... It took 2 hours to finally discover the solution to this problem in a forum.


Solution:

Open REGEDIT.EXE (really hate Microsoft and its regedit.reg).

Then find HKEY_LOCAL_MACHINE \ SOFTWARE \ JavaSoft

Right-click the permission, and then change permissions to full license.

After the modification, in the start Tomcat, the exception information disappears, hehe, now and everybody share.

Note: I use the time did not find this path under the JavaSoft items, my HKEY_CURRENT_USER, do not know what the problem, first mark, and so on later to see the situation resolved.





Related Article

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.