aspose file tools*
The moose likes Struts and the fly likes ActionError Constructor undefined Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ActionError Constructor undefined" Watch "ActionError Constructor undefined" New topic
Author

ActionError Constructor undefined

honey bunch
Greenhorn

Joined: Feb 01, 2012
Posts: 2
Hi,
I've a legacy application written using struts 1.1. The app is currently running in production without any problem. I'm trying to create a workspace locally and I use RAD 6 IDE.
Strangely, I'm getting ActionError undefined constructor error. I know this method is depricated but I've downloaded struts 1.1 and added the jars to the library. The import statement is looking good. The struts 1.1 doc has ActionError(java.lang.String key, java.lang.Object value0) constructor defined. I don't understand why my IDE throws that error. The compiler compliance is Java 1.4.

Any tip to fix would be greatly appreciated. Thanks.

Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

Hi,
This should not be a problem with your compiler or IDE when you say "The import statement is looking good" (I am implying that there is no compilation error for import, Correct me if I am wrong here). May be you might have some other version of struts library as well in your build path and your import is picking that one. Try removing your 1.1 library and see if the import is still "looking good".
I think so because in later version of struts 1.x there is no such constructor but the same class file is available.


Have Fun with Java
little,little.. little by little makes a lot..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ActionError Constructor undefined