So I'm having the strangest of issues here.
I'm developing a Maven project of a Rest API with Jersey that I run on Payara Server, currently version 192.
Building the project with Maven, starting the server via cli and deploying the artifact manually on the admin console works just fine, so next step is to configure IDEA to work with Payara to start some debugging sessions. I then proceeded to configure Payara as an application server and all, import my project on IDEA and create a configuration to run Payara locally and deploy the maven artifact. But then a wild bug appears:
Everytime I try to run or debug my configuration the server startup fails, and not only that, but I can't even run payara via cli anymore!
Seems like IDEA has messed up with the Payara startup script and I can only go back to running it via cli if I get a fresh install. What is that extra option that is unrecognized? I can't seem to find anything anywhere about what is that or why is that error happening after I try to start Payara via IDEA.
Need help, send the eagles.