This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EAR file packaging and visibility

 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have the following EAR file set up.

Test-EAR
spring.jar
hibernate.jar
.....
TestWeb
META-INF
MANIFEST.MF

I am running on JBoss.My MANIFEST.MF contains entries for the items in Test-EAR, i.e., spring.jar, hibernate.jar etc.

When trying to run the application, I get class not found issues etc even though I have all the libraries defined in the MANIFEST.MF file.

My question is, if a class in the web project accesses a class in say spring.jar, the class should be visible and loaded. If the class in spring.jar tries to access a class in hibernate.jar, will the class be visible or not?

What am I missing here. Thanks in advance for any assistance.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will have to mention those jars in the application.xml file present in the META-INF of the ear. See if thishelps.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic