Hi,
I have an application that works fine on JBoss when
the jar files are deployed separately but throws a NoClassDefFoundError when they are deployed in a .ear
file together. I studied the FAQ about this topic and I know
the Class-Path manifest header but I was not able to
solve my problem. I describe the content of my ear
file and the references between them.
application.ear framework.jar (EJB Module, contains the remove interfaces too). Class-Path: plugin1.jar plugin2.jar framework.jar plugin1.jar (Utility classes) Class-Path: business-logic.jar plugin2.jar (Utility classes) Class-Path: business-logic.jar business-logic.jar (Utility classes) Class-Path: framework.jar
Post the exception stacktrace that you are seeing and also the contents of your application.xml file(present in the META-INF folder of the .ear)