Skip to content
Advertisement

NoSuchMethodError when using submitting form in Struts 2

I’m currently working through the tutorial found on the Apache Struts website.

Currently, whenever I press submit on the form, or when I click the Bruce Philips hyperlink, I get a NoSuchMethodError.

JavaScript

I’m not too sure what the issue is either and I believe I’ve included everything the tutorial states. I’ve tried including the dependency in my pom.xml, but that makes no difference either.

JavaScript

Any ideas on how I would fix this problem?

Advertisement

Answer

Problem found… Turns out my server version is too old to handle struts 2. I was previously using Geronimo version 2.0.2, and it now runs fine on GlassFish 3.1.2.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement