Java Eclipse Mars 未显示 Jboss Server
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/31262682/
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
Eclipse Mars not showing Jboss Server
提问by Subodh Joshi
Here is the things I tried
这是我尝试过的事情
- In Eclipse Mars go to Help-> Install New Software
- Click on add button and paste the URL of the update site which is in our case: Eclipse Mars tools for Jboss
- Now select the JBossASTools plugin and Click "Next"
- 在 Eclipse Mars 中,转到“帮助”->“安装新软件”
- 单击添加按钮并粘贴更新站点的 URL,在我们的示例中为:Eclipse Mars tools for Jboss
- 现在选择JBossAS工具插件并单击“下一步”
EDIT :-
编辑 :-
Even after doing above points i am not able to see the Jboss server in eclipse mars so i tried below
即使在完成以上几点之后,我也无法在 eclipse mars 中看到 Jboss 服务器,所以我尝试了以下方法
Go to eclipse market place - > search for Jboss -> Then from List Red Hat Jboss Developer Studio(Mars) 9.0->Confirm
转到 eclipse 市场 -> 搜索 Jboss -> 然后从 List Red Hat Jboss Developer Studio(Mars) 9.0->Confirm
Even now i am not able to see Jboss server in the eclipse add server list so not able to run my application in Jboss server .
即使现在我也无法在 eclipse 添加服务器列表中看到 Jboss 服务器,因此无法在 Jboss 服务器中运行我的应用程序。
Can any one tell me what can be the issue why Jboss server not listed in the server List?
谁能告诉我为什么 Jboss 服务器没有列在服务器列表中的问题?
EDIT 1 :-
编辑 1 :-
采纳答案by Xavier Coulon
You need Java 8 to run Eclipse with JBoss Tools 4.3.0.Beta1 even if you don't build and deploy with this version of Java (ie, you can still build and deploy on Java 6 or 7). See http://tools.jboss.org/blog/2015-06-23-beta1-for-mars.html#java-8-to-run-eclipse-older-runtimes-ok-for-builds-deployment
您需要 Java 8 才能使用 JBoss Tools 4.3.0.Beta1 运行 Eclipse,即使您不使用此版本的 Java 构建和部署(即,您仍然可以在 Java 6 或 7 上构建和部署)。见http://tools.jboss.org/blog/2015-06-23-beta1-for-mars.html#java-8-to-run-eclipse-older-runtimes-ok-for-builds-deployment
回答by Max Rydahl Andersen
Are you running with Java 8 ? JBoss Tools/Developer Studio Beta on Mars requires Java 8.
你在运行 Java 8 吗?Mars 上的 JBoss Tools/Developer Studio Beta 需要 Java 8。
You can use it to develop against older versions of Java just fine though.
不过,您可以使用它来针对旧版本的 Java 进行开发。
回答by Adrian
I had same problem,I solved it by doing the following
我有同样的问题,我通过执行以下操作解决了它
You can install runtimes into Eclipse by selecting Window → Preferences menu and then selecting Server → Runtime Environments from the categories available on the left.
您可以通过选择 Window → Preferences 菜单,然后从左侧可用的类别中选择 Server → Runtime Environments 来将运行时安装到 Eclipse 中。
After that jboss appear in the server view
之后 jboss 出现在服务器视图中
回答by Sundaram Choudhary
This is b/c eclipse mars installation process goes through installer which will pick the JRE which is installed that time(in my case that was 1.7) and the JBoss need java 1.8 for proper installation b/c of that every time when u start eclipse it shows that some files are not install for jBoss…After eclipse installation if you change the JRE environment it will not change for JBOSS installion…. For me ; i removed JDk1.7 from Application/Java/VirtualMachineEmviroment(JDK1.8 should remain intact) and Re-run eclipse installer. Now install again Jboss tools form eclipse market…This time for new server configuration , there will be Jboss Community folder...
这是 b/c eclipse mars 安装过程通过安装程序,它将选择当时安装的 JRE(在我的情况下是 1.7),而 JBoss 需要 java 1.8 才能正确安装 b/c,每次你启动 eclipse 时它表明有些文件没有为 jBoss 安装……在 eclipse 安装之后,如果您更改 JRE 环境,它不会为 JBOSS 安装而更改……。为了我 ; 我从 Application/Java/VirtualMachineEmviroment(JDK1.8 应该保持不变)中删除了 JDk1.7 并重新运行 eclipse 安装程序。现在从eclipse市场重新安装Jboss工具……这次是新服务器配置,会有Jboss Community文件夹……