javax.security.auth.login.LoginException: Login failed: Cannot run program "whoami": CreateProcess error=2, ?????????
在windows机器上安装cygwin,然后在环境变量path中加上cygwin的bin目录,如C:\cygwin\bin
javax.security.auth.login.LoginException: Login failed: Cannot run program "whoami": CreateProcess error=2, ?????????
在windows机器上安装cygwin,然后在环境变量path中加上cygwin的bin目录,如C:\cygwin\bin