eclipse错误:glassfish\domains\domain1不存在 [英] eclipse error: glassfish\domains\domain1 does not exist

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

问题描述

我有java ee6 web profile sdk&我使用eclipse ee。我在新服务器向导中使用下载其他服务器适配器安装了Eclipse的Glassfish插件。现在在构建测试应用程序时,eclipse会引发此错误 glassfish\domains\domain1不存在。什么原因&如何删除它?

解决方案

您的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屋!

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