This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com