Sunday, January 27, 2013

Disable message "Windows detected a hard disk problem"

It happens in Windows 7. The current PC configuration has HDD S.M.A.R.T. problem but has worked with it for more that year. Windows XP has not such disgnostics, nut Windows 7 detects the broken state and notifies me on a few hours. This is very irritating.

I found the solution of the problem:
1. Please open gpedit.msc. Navigate to Computer Configuration\Administrative Templates\System\Troubleshooting and Diagnostics\Disk Diagnostic\
2. Double Click on “Disk diagnostic: configure execution level”, set it to “disabled”. “Not configured” is enabled by default.


The full text of the error message is:
Backup your files immediately to prevent information loss, and then contact the computer manufacturer to determine if you need to repair or replace the disk.

Tuesday, January 1, 2013

maven - Uncompilable source code error

Caused by: java.lang.RuntimeException: Uncompilable source code - package xxxxxxx does not exist.

Solved: The error went away after mvn clean. Perfect time killer.

I encounter the error only in test maven environment.