Jars in the JBoss EAP 6 Runtime
I have downloaded JBoss developer Studio, by adding the JBoss EAP 6 runtime, I have seen that it contains only some jars but not all of them. So I have errors in some jar import in my code (exp : ironjacamar-jdbc-jar which is in the folder C:\jboss-eap-6.1\modules\system\layers\base\org\jboss\ironjacamar\jdbcadapters\main).
What are these jars that JBoss eap 6 runtimes contains by default?
How to fix the missing jars that comes with JBoss eap 6 but are not seen in the Java Build Path?
PS: I don't like to use maven.
Attachments
Responses
Hi Mariem
You are asking a lot of question on the CSP, perhaps it may be easier if you raise a support case for all related questions to Developer Studio?
I'm not sure what you are doing here, as your other posts say you are using Eclipse and don't want to use JBDS. I also don't have enough information on your project or what you are importing. The errors are there because the libraries could not be found, but I'm not sure what you mean by "what are these jars that eap 6 contains by default?".
Maven has nothing to do with this. If you have missing JAR's in the project then you need to import them has part of a library or manually. This is the same for any other Eclipse project and nothing to do with JBoss or JBDS.
Thanks
Mustafa
Hi Mariem
Let me try understand your steps.
So you have a project which you imported in to JBDS along with the a runtime of EAP 6.x. When you open your project you get a lot of compiler errors because of missing libraries. At this point you add the EAP runtime to the build path and expect the dependencies to be fixed but some libraries do not get added?
Libraries were split and in EAP 6 the whole format was changed. I'm not sure what version you are comparing it to but depending on if you actually need runtime library or EJB3 library etc, it may mean you need to add the dependency yourself.
JBoss EAP 6 did not have a common/lib directory so either you added this yourself or you are talking about JBoss AS 6 in which case you can't compare the two as they are completely different. JBoss EAP 6 is based off JBoss AS 7.x.
You fix it by doing exactly what you have done and that is by adding the relevant JARs to your build path.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
