eclipse error: glassfish\domains\domain1 does not exist

前端 未结 8 928
感情败类
感情败类 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:39

    Eclipse doesn't have domain path setting for glassfish server. This error comes when domain path is not correct. Make sure when you run your application on eclipse give glassfish credentials user/password

    0 讨论(0)
  • 2020-11-30 13:47

    Go to <Glassfish-install-directory>/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.

    0 讨论(0)
提交回复
热议问题