eclipse error: glassfish\domains\domain1 does not exist

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

    Either your eclipse glassfish plugin points to the wrong domain or your server has no domain although there should be at least a default domain which is usually named domain1.

    Check what's the name of your domain in glassfish-install-dir\glassfish\domains directory. If there is no subdir, you can create a domain with the asadmin tool:

    glassfish-install-dir\bin\asadmin create-domain your-domain-name
    

    See this description of the create-domain command.

    If you already have a domain with a different name than domain1, you have to reconfigure your eclipse glassfish plugin. (Since I don't use eclipse, I can't take you any further. But I remember a BalusC tutorial on this topic).

提交回复
热议问题