Is struts.jar in WEB-INF/lib?  If so, check to make sure
ActionMappings.class is in it.  The package name is correct, its just that
javac cannot find the struts.jar.

Calvin

----- Original Message -----
From: "Chuck Amadi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 9:13 AM
Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont
compile


> Hi, pls can some one confirm the package name for ActionMappings as i
> recieve the following error.
>
> I am aware that i have the incorrect package thus were does ActionMappings
> reside.
> Cheers Chuck
>
> WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found
> in type declaration or import.
> import org.apache.struts.action.ActionMapping;
>                                 ^
> WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in
> type declaration or import.
> import org.apache.struts.action.ActionForm;
>                                 ^
> WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found
in
> type declaration or import.
> import org.apache.struts.action.ActionErrors;
>                                 ^
> WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in
> type declaration or import.
> import org.apache.struts.action.ActionError;
>                                 ^
> WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in
> type declaration or import.
> public final class LogonForm extends ActionForm {
>                                      ^
> WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found
> in type declaration or import.
>     public void reset(ActionMapping mapping, HttpServletRequest request) {
>                       ^
> WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found
> in type declaration or import.
>     public ActionErrors validate(ActionMapping mapping,
>            ^
> WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found
> in type declaration or import.
>     public ActionErrors validate(ActionMapping mapping,
>                                  ^
> 8 errors
> Errors compiling LogonForm.
>
> Chuck Amadi wrote:
>
> > Hi, pls could anyone confirm the ActionMappings package & ActionForward
> > package name within WBE-INF\classes\. dir as im lead to believe this
> > might be the cause of my problems.
> >
> > Chuck Amadi wrote:
> >
> > >    Part 1.1    Type: Plain Text (text/plain)
> > >            Encoding: 8bit
> >
> > --
> > The views expressed by the sender of this message don't
> > necessarily represent those of Brecon Beacons National Park
> > Authority. This message is intended for the addressee(s) only
> > and is sent in confidence; if you receive it in error, please can you
> > let us know (at [EMAIL PROTECTED]) and then destroy all copies.
> > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
> > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
> > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
> > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
> > mewn camgymeriad, a fyddech gystal  rhoi gwybod i
> > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
>
> --
> The views expressed by the sender of this message don't
> necessarily represent those of Brecon Beacons National Park
> Authority. This message is intended for the addressee(s) only
> and is sent in confidence; if you receive it in error, please can you
> let us know (at [EMAIL PROTECTED]) and then destroy all copies.
> Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
> adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
> Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
> yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
> mewn camgymeriad, a fyddech gystal â rhoi gwybod i
> ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
>

Reply via email to