This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

ActionError Constructor undefined  RSS feed

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Ranch Hand
Posts: 329
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse?
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!