struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: NoClassDefFoundError
Date Mon, 27 Dec 2004 14:23:10 GMT

NoClassDefFoundError means it is not able to find the class
CreateCategoryAction. Is it part of a package? If so, do you have the
package statement? Is the source file in the correct directory structure?

My guess is : It is thinking that there is no package name for
CreateCategoryAction and finds that the corresponding directory structure is
not consistent.

Bala Paranj
-----Original Message-----
From: uma.k []
Sent: Monday, December 27, 2004 1:20 AM
To: 'Struts Users Mailing List'
Subject: NoClassDefFoundError

I get the following exception
"java.lang.NoClassDefFoundError: articles/create_cat/CreateCategoryAction
(wrong name: create_cat/CreateCategoryAction)"

This is my struts-config.xml file

    	<form-bean name="categoryForm"
    		<form-property name="category" type="java.lang.String"/>

	<forward name="success" path="/articles/create_cat/done.jsp"/>
	<forward name="failed" path="/articles/create_cat/createcat.jsp"/>

Whats wrong with this?


Note:  The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material.  Any review,
retransmission, dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other than the
intended recipient is prohibited.  The recipient should check this email and
any attachments for the presence of viruses.  Sender accepts no liability
for any damages caused by any virus transmitted by this email. If you have
received this email in error, please notify us immediately by replying to
the message and delete the email from your computer.  This e-mail is and any
response to it will be unencrypted and, therefore, potentially unsecure.
Thank you.  NOVA Information Systems, Inc.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message