wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes How to add external jars to EJB project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to add external jars to EJB project" Watch "How to add external jars to EJB project" New topic
Author

How to add external jars to EJB project

Sonx Nkuks
Ranch Hand

Joined: Aug 20, 2010
Posts: 47
Hi, i have EAR, Web and an EJB project (EJB/EJBClient). I noticed eclipse (sts) creates and EarContent folder so i assume this is where i need to add external jars. I added my hibernate and log4j jars on this folder but my EJB classes cannot resolve Logger class and hibernate classes. What's the correct way of adding these jars? or should i just add them to the EJB build path?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to add external jars to EJB project
 
Similar Threads
setting up hibernate in eclipse
Question About Classpath and Packages
Maven Repository
NoClassDefFoundError: com/ibm/ejs/container/EJSHome
Eclipse - Exporting to Jar including external jar files