eclipse error: glassfish\domains\domain1 does not exist

前端 未结 8 1010
感情败类
感情败类 2020-11-30 13:03

I have java ee6 web profile sdk & I am using eclipse ee. I installed Glassfish plugin for eclipse using Download additional server adapters in the New Serve

8条回答
  •  醉酒成梦
    2020-11-30 13:47

    Go to /glassfish/config directory.

    Edit asenv and point to your JDK installation for set AS_JAVA=C:\Java\jdk.

    Now you should be able to run asadmin.

    Create a new domain using asadmin create-domain domain1 (inside bin directory).

    Server setup in eclipse will now find your newly created domain.

提交回复
热议问题