I'd like to test the EAP 6.1 using the JBoss EAP installer, however I was not able to find it either on jboss.org downloads or on RedHat site. Community driven projects featuring the latest innovations for cutting edge apps. Our flagship project JBoss AS is the leading Open Source.
Active2 years, 11 months ago
How to add JBoss or JBoss EAP library to the Java Build Path of my project in Eclipse?
My platform:Virtual machine with Windows XP sp3, JDK 7 and JRE 7, Eclipse Java EE IDE for Web Developers(Version: Kepler Service Release 2), new clean workspace in Eclipse
What I did:
![Jboss eap 7.0 download Jboss eap 7.0 download](/uploads/1/2/6/8/126895046/173114081.png)
- Installed JBoss Tools for Kepler from the Market
- Folder with unzipped JBoss EAP - I tried with jboss-eap-6.2.0.zip, jboss-eap-6.3.0.Beta.zip and also install with jboss-eap-6.2.0-installer.jar
- Added 'JBoss Enterprise Application Platform 6.1+ Runtime' to Eclipse -> Preferences -> Server -> Runtime Enviroments, connected to the mentioned folder and to JDK 7
- At this point 'JBoss EAP 6.1+ Runtime Server' is shown in View -> Servers and I can start it
- Making new Java Project or Dynamic Web Project
- In Project properties:
- Targeted Runtime - 'JBoss EAP 6.1+ Runtime' is checked
- Project Facets -> Runtimes - 'JBoss EAP 6.1+ Runtime' is checked
Then I go to Java Build Path -> Libraries -> Add Library -> Server Runtime - and the list there is empty.
The same problem with JBoss 7.1 Runtime, which I added through download from Eclipse. Empty 'Server Runtime' list again.
How to fix this?
I tried a similar procedure with Apache Tomcat 7 and it is OK. But no success with JBoss.
![6.1.0 6.1.0](/uploads/1/2/6/8/126895046/604386484.png)
EDIT: here can be something relevant https://community.jboss.org/message/811070They write about 'Default Classpath Entries', I don't have such caption in Server -> Runtime Enviroments.
ggurov
ggurovggurov96122 gold badges1010 silver badges2121 bronze badges
3 Answers
The problem is solved with the last (currently) Eclipse - Luna Service Release 1 (Eclipse 4.4.1) - and JBoss Tools 4.2 for it.
ggurovggurov96122 gold badges1010 silver badges2121 bronze badges
I can’t speak as to how/why/when it was created, but look in the hidden folders inside your project. A file by the name of ‘org.eclipse.wst.common.project.facet.core.xml” exists and isn’t understood by MyEclipse. Delete it and the error should go away. Mine did.
swapjoswapjo
i think this error because of some missing jar like jboss client jar. in your project. so try to add this jar in you project.
Jboss Eap 6.1.0 Installer Jar Download
it was working for me.
Sangram BadiSangram Badi2,33644 gold badges1717 silver badges4141 bronze badges