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.