execution of class in a Jar file leads to error nested exception:
java.lang.NoClassDefFoundError: org/springframework/context/annotation/AnnotationConfigApplicationContext
This Jar file is part of EAR file.
It works fine in development mode in weblogic (eclipse ear project deployment assembly), but when the ear is built using ant and deployed from admin console the dependent Jars are not loaded. The dependent Jars are available on the manifest file of the Jar file and the Jar file is placed in /lib of the Ear file.
Can you please help on this ?