Unable to start Payara (payara6) server instance in vscode

Whenever I try to run instance of payara server in vscode. Not able to start the server. Following is the error I’m facing in the output window of vs code.

Error: Could not find or load main class Files\payara6\glassfish.lib.grizzly-npn-api.jar
Caused by: java.lang.ClassNotFoundException: Files\payara6\glassfish.lib.grizzly-npn-api.jar

  • JDK version 11
  • Windows 10 pro
  • payara version 6.2023.11

Expecting to run a server after clicking run but ended up getting error

Leave a Comment