description The requested resource (Servlet FrontController is not available) is not available.
--
and in my logs
--
15-Feb-2009 11:38:16 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet FrontController as unavailable
15-Feb-2009 11:38:16 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /beerStruts threw load() exception
java.lang.ClassNotFoundException: org.apache.commons.collections.FastHashMap
Any ideas way?
The struts.jar manifest file has references to :
Class-Path: commons-beanutils.jar commons-collections.jar commons-dig
ester.jar commons-logging.jar commons-validator.jar jakarta-oro.jar s
truts-legacy.jar
Have you considered actually downloading Struts itself?
I'm not entirely sure why you're trying to use Struts 1.1--that is a *very* old version of Struts. Unless you have a compelling reason to use it I wouldn't, and there are a million other sample apps out there. The book itself is also pretty out-of-date (although quite good).
If you're dead-set on using Struts 1.1 (~7 years old):
Again, I don't recommend it unless you have a compelling reason.
Cal Gacus
Greenhorn
Joined: Feb 15, 2009
Posts: 12
posted
0
Thanks David, I got it now.
The example programs did not contain all the jars needed, and there were no instructions in them to help find what was missing or even warn of the problem.
I wonder why they didn't include all the jars in the example program, could have saved me a lot of time. Neither the example program for the 1st or 2nd edition of the book had all that was required. I had to add the commons-logging104.jar to the apps lib directory for the 2nd ed example to work.