Simon,

Do you see the action mappings messages when you start the server?
Things of the form:

Call
org.apache.struts.action.ActionMapping.addForward(ActionForward[send])

If not it really sounds like the action servlet isn't finding the
struts-config.xml file, or isn't parsing it. Perhaps if you posted the
relevant sections from your web.xml file, and the startup log output
from Tomcat it would help.

regards,

Stephen Owens
Corner Software

-----Original Message-----
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 10:56 AM
To: Struts mailing list (E-mail)
Subject: Cannot find ActionMappings or ActionFormBeans collection


I have battled this for a week and searched the Internet high and low
for answers. After checking the syntax and correctness of web.xml and
struts-config.xml and receiving no errors when I compile and making
certain that my classes and JAR files are in the correct directories and
that I don't have struts.jar in my classpath, I am now completely stuck.

I am using struts 1.0.1, Tomcat 4.0.1, JDK 1.4.0 beta 3, RedHat Linux
7.2. I've also tried a very similar setup using Cygwin on Windows 2000
Professional.

The struts-example application works just fine. So I tried to create my
own simple test application. Most of my test pages work, a plain HTML
page, a simple JSP that uses the <html:html> tag works, but when I try
to use anything more then I get the famous newbie error:

Cannot find ActionMappings or ActionFormBeans collection

The problem with this newbie error is that there are lots of us asking
about it and precious few answers (according to the search results). I
am very determined to get the hang of struts, but how many people have
been scared off because of this error?

I would like to get some input on what I should check first. I'm willing
and able to dive in but need guidance as to where to look first.

All help gratefully appreciated.

Simon

-----------------------------------------------------------------
Simon P. Chappell                     [EMAIL PROTECTED]
Web Developer / Programming Specialist           www.landsend.com
Lands' End, Inc.                                   (608) 935-4526

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to