问题
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 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 :-
回答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
回答2:
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.
回答3:
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
回答4:
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...
来源:https://stackoverflow.com/questions/31262682/eclipse-mars-not-showing-jboss-server