问题
When I try to deploy my Glassfish project in Netbeans (right-click -> run), I get:
No suitable Deployment Server is defined for the project or globally
SOLUTION: As it turned out, this was due to the fact that I had multiple Glassfish processes running. I deleted all the extras and my project deployment worked.
来源:https://stackoverflow.com/questions/57914196/netbeans-no-suitable-deployment-server-is-defined-for-the-project-or-globally