Failed to deploy jdk 17 project in payara 6

I was using jdk 8 and payara 5 and everything was working fine, now i have upgraded the project to jdk 17 and payara 6 and i get the following error:

Error running 'Payara 6.10.0' Unable to connect to the localhost:4850, reason: com.intellij.javaee.process.common.WrappedException: com.sun.enterprise.admin.remote.RemoteFailureException: Exception while processing command:

The credentials are correct, i can login on admin panel, only in IDEA i get this error.

My payara plugin is updated.