If you see the additional message "Unable to attach to 32-bit process running under WOW64",
your application is running with 32bit Java while using 64bit Eclipse on Windows.
Either using 64bit Java for your application or using 32bit Eclipse solves the issue.