eclipse 错误: glassfishdomainsdomain1 不存在 [英] eclipse error: glassfishdomainsdomain1 does not exist

查看:9
本文介绍了eclipse 错误: glassfishdomainsdomain1 不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 java ee6 web profile sdk &我正在使用 eclipse ee.我使用新服务器向导中的下载附加服务器适配器为eclipse安装了Glassfish插件.现在,在构建测试应用程序期间,eclipse 会引发此错误 glassfishdomainsdomain1 不存在.是什么原因&我怎样才能删除它?

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 glassfishdomainsdomain1 does not exist. Whats the reason & how can I remove it?

推荐答案

要么你的 eclipse glassfish 插件指向错误的域,要么你的服务器没有域,尽管至少应该有一个默认域,通常名为 domain1.

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.

检查glassfish-install-dirglassfishdomains 目录中的域名称.如果没有subdir,可以用asadmin工具创建一个域:

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

glassfish-install-dirinasadmin create-domain your-domain-name

请参阅此说明创建域命令.

如果您已经有一个与 domain1 名称不同的域,则必须重新配置 eclipse glassfish 插件.(因为我不使用 eclipse,所以我不能带你进一步.但我记得一个 有关此主题的 BalusC 教程).

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 错误: glassfishdomainsdomain1 不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆