Java 如何解决安装在 Debian 中的 netbeans 中缺少服务器的问题?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3615136/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-14 02:41:58  来源:igfitidea点击:

How to resolve missing server problem in netbeans installed in Debian?

javaidenetbeansdebian

提问by user281967

I have installed netbeans in Debian and no server is listed in "Available java EE compatible servers" when trying to resolve. Also, cannot "Add server" by giving "platform folder location". By default, it appears "/home/raj/SUNWappserver". The error "provide valid application server location" not disappears whatever is typed in "platform location".

我已经在 Debian 中安装了 netbeans,但在尝试解决时,“可用的 Java EE 兼容服务器”中没有列出任何服务器。此外,不能通过提供“平台文件夹位置”来“添加服务器”。默认情况下,它显示为“/home/raj/SUNWappserver”。无论在“平台位置”中输入什么,“提供有效的应用程序服务器位置”错误都不会消失。

  1. Which is the location?(for glassfish server and tomcat)
  2. What option should be chosen for domain?( if i am trying to work with web services from 2 machines by creating one server and one client). I can't type anyuthing in "Domain" or "profile" 3.While installing, is there any plug in to be included? Kindly help.
  1. 位置在哪里?(对于 glassfish 服务器和 tomcat)
  2. 应该为域选择什么选项?(如果我试图通过创建一台服务器和一台客户端来处理来自两台机器的 Web 服务)。我无法在“域”或“配置文件”中输入任何内容 3.安装时,是否包含任何插件?请帮忙。

回答by Ramesh

Right click your project and next click resolve missing server. Open dialog box so you will add server in current glash fish server next solve your problem.

右键单击您的项目,然后单击解决丢失的服务器。打开对话框,然后您将在当前的 glash 鱼服务器中添加服务器,然后解决您的问题。

回答by Ram Pukar

  1. Go to File menu.
  2. Click on Exit (Again Restart Your NetBeans). Auto Added Missing Server.
  1. 转到文件菜单。
  2. 单击退出(再次重新启动您的 NetBeans)。自动添加缺少的服务器。