Im having a problem when reading libraries from jar within EAR file. This is my project tree:
https://i.stack.imgur.com/FgVs2.jpg
In my MANIFEST.MF file (of the jar) I have this: Manifest-Version: 1.0 Class-Path: lib/jboss-logging-spi.jar lib/jboss-messaging-client.jar
but when I use this EJB it throws an error:
java.lang.NoClassDefFoundError: org/jboss/jms/client/delegate/ClientConnectionFactoryDelegate; nested exception is: java.rmi.RemoteException: EJB Exception: ; nested exception is: java.lang.NoClassDefFoundError: org/jboss/jms/client/delegate/ClientConnectionFactoryDelegate
I dont know what to do I have tried different ways of the MANIFEST file but with no results. any help would be appreciated!!