Hello there! I'm having a strange problem with my struts app (1.2.9), it's been a long time since the last time I've used struts (being in the Swing world for a while now).
The application launches an error on startup:
Well, I've checked the Action class and it really does not have an addForwardConfig method.
Here's my struts-config.xml:
All the files (validation, validator and tiles) are placed under the WEB-INF in the war file.
My AcmeAction extends ActionSupport from Spring's helper classes. First I thought was this, but then I've changed it to a regular action, and the problem persists. As it throws an Severe message, I'm guessing this is the cause that I can't access my application (when I try to access the index.jsp) I get an 500 Error complaining about not having a principal ActionForward defined on my global-forwards.
Check your WEB-INF/lib directory and make sure that you have all the required jar files from the Struts download, and that both the struts.jar file and all commons-xxx jar files came from the same download package.
Also, check to make sure that the neither the struts.jar file nor any commons jar files are being loaded by another class loader (i.e. from a common area in your application server).
Did you read Greg's post? I believe his answer is the correct one. When you specify className="" in an action path, Struts thinks you're specifying a custom ActionMapping class for that action path. Change className="com.acme.AcmeAction" to type="com.acme.AcmeAction" in your <action> tag.