On Jan 5, 2007, at 6:17 AM, kamal cheetah wrote:

My EAR got deployed , but when i try to run my application . It is throwing this particular exception. Can u help me out.

<snip>
Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
 at org.apache.geronimo.kernel.classloader.JarFileClassLoader.access$200(JarFileClassLoader.java:51)
 at org.apache.geronimo.kernel.classloader.JarFileClassLoader$6.run(JarFileClassLoader.java:275)
 at java.security.AccessController.doPrivileged(Native Method)
 at org.apache.geronimo.kernel.classloader.JarFileClassLoader.findClass(JarFileClassLoader.java:227)
 at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:243)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:227)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 at org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.java:320)
 at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:191)
 ... 71 more

Hi Vimal,
Sounds like a jar file that struts requires, is missing (either you haven't included it in WEB-INF/lib or declared a dependency for a resource in your repository). Look at the lib directory of a binary struts download and see if you can figure out what's missing...

--kevan