eclipse错误:glassfish\domains\domain1不存在 [英] eclipse error: glassfish\domains\domain1 does not exist
问题描述
您的eclipse glassfish插件指向错误的域或您的服务器没有域,至少是一个默认的域名,通常被命名为 domain1 。
检查您的域名的名称在 glassfish-install-dir \glassfish\domains 目录。如果没有子目录,您可以使用asadmin工具创建一个域:
glassfish-install-dir\bin\ asadmin create-domain your-domain-name
请参阅 create-domain命令的描述。
如果您已经有一个名称不同于 domain1 的域名,那么您必须重新配置eclipse glassfish插件。 (因为我不使用eclipse,我不能再接你了,但我记得一个关于此主题的BalusC教程)。
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 Server wizard. Now during building a test app, eclipse raise this error glassfish\domains\domain1 does not exist. Whats the reason & how can I remove it?
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).
这篇关于eclipse错误:glassfish\domains\domain1不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!