This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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