Hi Alex,

There are 2 possibilities on why you encountering problems:

1) You might not have put the "lib" directory in your working directory.
For example if your directory structure is c:\tmp then you should have
a directory structure like the following:

C:\tmp
         \HoroscopeApp
         \lib

This is required as the struts library file (struts.jar) is located in 
"lib" directory
where ant will copy the library into the resulting *.war file. If the 
library is
missing in the *.war file, Ant will report that build is successful but 
there will
be runtime error like you encountered.

2) There are 2 known bugs in the build file in the HoroscopeExample 
(HoroscopeEx).
- in build.xml line 8, the line should be:
         <property name="lib.dir" value="../lib" />

- in build.xml line 46, the line should be:
         <fileset dir="${lib.dir}/struts-1.0">

Please contact us if you have any further problems.

Regards,
Harry

At 06:11 PM 7/18/2002 +1000, you wrote:
>Hi,
>
>I built the Camino 2.0 Horoscope tutorial using Ant as instructed in the
>documentation.
>
>When using Tomcat 4.0.3, I cannot view start.jsp. It gives the following
>error:
>
>javax.servlet.ServletException: Cannot find ActionMappings or
>          ActionFormBeans collection
>
>
>Seeing as I didn't touch the tutorial example before using ant, I don't
>think that I'm doing anything wrong. I have attempted for a few hours to
>rectify the problem to no avail.
>
>Any help would be appreciated
>
>thanks
>
>Alex
>
>
>
>===
>To subscribe/unsubscribe, visit 
>http://list.scioworks.com:8081/guest/RemoteListSummary/camino_user

Harry Rusli
Scioworks Technologies (www.scioworks.com)
email: [EMAIL PROTECTED]



===
To subscribe/unsubscribe, visit 
http://list.scioworks.com:8081/guest/RemoteListSummary/camino_user

Reply via email to