我安装了glassfish4,但是当我尝试启动服务器时,出现以下错误:
C:\glassfish4\bin>asadmin start-domain
Waiting for domain1 to start .Error starting domain domain1.
The server exited prematurely with exit code 1.
在死亡之前,它产生了以下输出:
Error: Could not find or load main class
Files.Java.jdk1.7.0_80.bin;C:.glassfish4.bin..;C:.glassfish4.bin com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1 -asadmin-args --host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=true,,,start-domain,,,--verbose=false,,,--watchdog=false,,,--debug=false,,,--domaindir,,,C:\glassfish4\glassfish\domains,,,domain1 -instancename server -verbose false -debug false -asadmin-classpath C:.glassfish4.glassfish.lib.client.appserver-cli.jar -asadmin-classname com.sun.enterprise.admin.cli.AdminMain -upgrade false -type DAS -domaindir C:.glassfish4.glassfish.domains.domain1 -read-stdin true
Command start-domain failed.