Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EAR Shared Library Packaging Woes  RSS feed

Jason Vinson
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am attempting to bundle an EAR file for a war & (future) ejb deployment with shared libraries, but I'm having issues. Here's the EAR directory structure:


my war file's MANIFEST.MF is as follows:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.3
Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.)
Built-By: jason

Class-Path: lib/commons-logging.jar

when i deploy this ear file, i get the following:

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at com.myapp.ApplicationListener.<clinit>(
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(

Anyone know what i am missing?

[ November 04, 2004: Message edited by: Jason Vinson ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!