标题已经说了一切……我只是想让GlassFish运行起来。这是我遇到的错误:
Detected server admin port: 4848
[2015-04-06 07:37:56,138] Artifact java_web_app:war exploded: Server is not connected. Deploy is not available.
Detected server http port: 8080
Command start-domain failed.
JVM failed to start: com.sun.enterprise.admin.launcher.GFLauncherException: The server exited prematurely with exit code 1.
Before it died, it produced the following output:
This subcommand requires root privileges: bsexec
这件事肯定有解决方法吧?我不想每次都用sudo运行Intellij。
sudo asadmin start-domain
,并且它起作用了。 - Roy Lee