简体   繁体   中英

Eclipse Mars not showing Jboss Server

Here is the things I tried

  1. In Eclipse Mars go to Help-> Install New Software
  2. Click on add button and paste the URL of the update site which is in our case: Eclipse Mars tools for Jboss
  3. Now select the JBossAS Tools plugin and Click "Next"

EDIT :-

Even after doing above points i am not able to see the Jboss server in eclipse mars so i tried below

Go to eclipse market place - > search for Jboss -> Then from 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 .

Can any one tell me what can be the issue why Jboss server not listed in the server List?

在此输入图像描述

EDIT 1 :-

在此输入图像描述

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

Are you running with Java 8 ? JBoss Tools/Developer Studio Beta on Mars requires Java 8.

You can use it to develop against older versions of Java just fine though.

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.

After that jboss appear in the server view

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...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM