SV: pls Help Invalid Package Declartions .java File Wont compile
Try removing all the .java files from the WEB-INF dirtomcat doesnt like having them there for some reason... Mikkel -Oprindelig meddelelse-Fra: Calvin Yu [mailto:[EMAIL PROTECTED]]Sendt: 02 July 2001 15:19Til: [EMAIL PROTECTED]Emne: Re: pls Help Invalid Package Declartions .java File Wont compile What is it exactly are you trying to do? Compile? Run a webapp? What is the exact error output you are getting? Calvin - Original Message - From: Chuck Amadi To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 8:30 AM Subject: pls Help Invalid Package Declartions .java File Wont compile Hi, Can anyone suggest why i might be recieving the following invalid package declarations. My Path as follows- C:\jakarta-tomcat-3.2.1\webapps\bbnpa\ thus continued- WEB-INF\classes\org\breconbeacons\it\java(classes). Thus i am aware that they haven't compiled to .class file any help would be extremly recieved this has been posted a few times so i assume this is a difficult enquiry . I have ensured the jar files ,tld ( xml ),package title and declarations are in order. So if anyone out there has got a poniters giv's us some hlep Cheers Chuckie -- 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.
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi, mate were then should i locate them as oppose to WEB-INF\classes\ Cheers Chuck Mikkel Bruun wrote: >Part 1.1Type: Plain Text (text/plain) >Encoding: quoted-printable -- 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.
SV: SV: pls Help Invalid Package Declartions .java File Wont compile
Ehh, i dont know...;-) my point is that the WEB-INF tree shouldn't contain any .java files...just .class, properties, etc... Mikkel -Oprindelig meddelelse- Fra: Chuck Amadi [mailto:[EMAIL PROTECTED]] Sendt: 02 July 2001 15:55 Til: [EMAIL PROTECTED] Emne: Re: SV: pls Help Invalid Package Declartions .java File Wont compile Hi, mate were then should i locate them as oppose to WEB-INF\classes\ Cheers Chuck Mikkel Bruun wrote: >Part 1.1Type: Plain Text (text/plain) >Encoding: quoted-printable -- 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.
SV: SV: pls Help Invalid Package Declartions .java File Wont compile
My current setup consists of VAJ 3.5, running tomcat internally... If your are running this combo, I would suggests that you compiled your .java files in another location, and then had a script (ant?) to copy the compiled clss files to the WEB-INF tree... Try reading the developer guide lines in the tomcat documentation, where they suggests a src tree among other things... Mikkel -Oprindelig meddelelse-Fra: Chuck Amadi [mailto:[EMAIL PROTECTED]]Sendt: 02 July 2001 16:43Til: [EMAIL PROTECTED]Emne: Re:SV: pls Help Invalid Package Declartions .java File Wont compileHi, Again were would you create your .java files hence before compiling, as i assume that the .java files had to be in the sub directory classes beneath WEB-INF file structure in order for my web application to locate them.I am aware that the container will look for deployment information about my bbnpa -web app there and as the WEB-INF is practicaly top-tier there is noware else i can think of. Hence i find it remarkable that all by one are invalid package declarations and the other error parsing which i'll take another look at. I understand your concept that once they are compiled there wouldn't be any .java files ONLY .class files within the WEB-INF\classes dir. So i must assume that it my problem stems from compiling a java file from within a invalid path declaration. but my path isn't that complexed. Mikkel Bruun wrote: Ehh, i dont know...;-) my point is that the WEB-INF tree shouldn't contain any .java files...just .class, properties, etc... Mikkel -Oprindelig meddelelse- Fra: Chuck Amadi [mailto:[EMAIL PROTECTED]] Sendt: 02 July 2001 15:55 Til: [EMAIL PROTECTED] Emne: Re: SV: pls Help Invalid Package Declartions .java File Wont compile Hi, mate were then should i locate them as oppose to WEB-INF\classes\ Cheers Chuck Mikkel Bruun wrote: > Part 1.1 Type: Plain Text (text/plain) > Encoding: quoted-printable -- 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. -- 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.
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi, here is a copy of my clipboard. Cheers Chuckie WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [66:1] Class ActionMapping not found in type declaration or import. import org.apache.struts.action.ActionMapping; ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Class ActionMapping not found in type declaration or import. public final class ApplicationMapping extends ActionMapping { ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Public class org.breconbeacons.it.ApplicationMapping is defined in C:\jakarta-tomcat-3.2.1\webapps\bbnpa\WEB-INF\classes\org\breconbeacons\it\ActionMapping.java and must be defined in a file called "ApplicationMapping.java". public final class ApplicationMapping extends ActionMapping { ^ 3 errors Errors compiling ActionMapping. Mikkel Bruun wrote: >Part 1.1Type: Plain Text (text/plain) >Encoding: quoted-printable -- 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.
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Basic Q, I have concluded that Web Applications handlers must reside in one of the following standard locations for java classes:- 1) in a JAR file in the WEB-INF\l ib dir. 2) in a dir in the \WEB-INF\ classes dir. 3) checked xml file for the necessary tld's look ok (pls state any ambiguous code/typo problems that could cause Invalid Package Declarations). 4) gone over typo's and snippets. Thus my java .file's confirm to the above have declared my package's and imports with the correct syntax. i.e. Capitol letter to begin name of java class also name within the file itself. The package path is as follows WEB-INF\classes\org\breconbeacons\it\ActionMapping. The name within the .java file is package org.breconbeacons.it; within this java file i have an import declaration as below import org.apache.struts.action.ActionMapping; Hence i receive the following errors WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [66:1] Class ActionMapping not found in type declaration or import. import org.apache.struts.action.ActionMapping; ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Class ActionMapping not found in type declaration or import. public final class ApplicationMapping extends ActionMapping { ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Public class org.breconbeacons.it.ApplicationMapping is defined in C:\jakarta-tomcat-3.2.1\webapps\bbnpa\WEB-INF\classes\org\breconbeacons\it\ActionMapping.java and must be defined in a file called "ApplicationMapping.java". public final class ApplicationMapping extends ActionMapping { ^ 3 errors Errors compiling ActionMapping. Chuck Amadi wrote: Hi, here is a copy of my clipboard. Cheers Chuckie WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [66:1] Class ActionMapping not found in type declaration or import. import org.apache.struts.action.ActionMapping; ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Class ActionMapping not found in type declaration or import. public final class ApplicationMapping extends ActionMapping { ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Public class org.breconbeacons.it.ApplicationMapping is defined in C:\jakarta-tomcat-3.2.1\webapps\bbnpa\WEB-INF\classes\org\breconbeacons\it\ActionMapping.java and must be defined in a file called "ApplicationMapping.java". public final class ApplicationMapping extends ActionMapping { ^ 3 errors Errors compiling ActionMapping. HELP I can't think of anything else why my .java files won't comile into .class files.+ Cheers Chuckie Mikkel Bruun wrote: > Part 1.1 Type: Plain Text (text/plain) > Encoding: quoted-printable -- 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.
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
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.1Type: 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 dilëwch bob copi.
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Well, one problem I see is that your class is declared as ApplicationMapping and the name of your .java file is ActionMapping.java. Either change the class declaration or rename the java file. If that doesn't fix your other problems, then it means that javac can't find the struts libraries. Calvin - Original Message - From: Chuck Amadi To: [EMAIL PROTECTED] Sent: Tuesday, July 03, 2001 6:55 AM Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont compile Basic Q, I have concluded that Web Applications handlers must reside in one of the following standard locations for java classes:- 1) in a JAR file in the WEB-INF\l ib dir. 2) in a dir in the \WEB-INF\ classes dir. 3) checked xml file for the necessary tld's look ok (pls state any ambiguous code/typo problems that could cause Invalid Package Declarations). 4) gone over typo's and snippets. Thus my java .file's confirm to the above have declared my package's and imports with the correct syntax. i.e. Capitol letter to begin name of java class also name within the file itself. The package path is as follows WEB-INF\classes\org\breconbeacons\it\ActionMapping. The name within the .java file is package org.breconbeacons.it; within this java file i have an import declaration as below import org.apache.struts.action.ActionMapping; Hence i receive the following errors WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [66:1] Class ActionMapping not found in type declaration or import. import org.apache.struts.action.ActionMapping; ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Class ActionMapping not found in type declaration or import. public final class ApplicationMapping extends ActionMapping { ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Public class org.breconbeacons.it.ApplicationMapping is defined in C:\jakarta-tomcat-3.2.1\webapps\bbnpa\WEB-INF\classes\org\breconbeacons\it\ActionMapping.java and must be defined in a file called "ApplicationMapping.java". public final class ApplicationMapping extends ActionMapping { ^ 3 errors Errors compiling ActionMapping. Chuck Amadi wrote: Hi, here is a copy of my clipboard. Cheers Chuckie WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [66:1] Class ActionMapping not found in type declaration or import. import org.apache.struts.action.ActionMapping; ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Class ActionMapping not found in type declaration or import. public final class ApplicationMapping extends ActionMapping { ^ WEB-INF/classes/org/breconbeacons/it/ActionMapping.java [85:1] Public class org.breconbeacons.it.ApplicationMapping is defined in C:\jakarta-tomcat-3.2.1\webapps\bbnpa\WEB-INF\classes\org\breconbeacons\it\ActionMapping.java and must be defined in a file called "ApplicationMapping.java". public final class ApplicationMapping extends ActionMapping { ^ 3 errors Errors compiling ActionMapping. HELP I can't think of anything else why my .java files won't comile into .class files.+ Cheers Chuckie Mikkel Bruun wrote: > Part 1.1 Type: Plain Text (text/plain) > Encoding: quoted-printable -- 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 e
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.1Type: 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.
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
That is the correct package... Where do you have your struts jar? Pete Chuck Amadi wrote: > 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.1Type: 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. begin:vcard n:; x-mozilla-html:FALSE org:http://www.irista.com/images/common/logo_top_right.gif";> adr:;; version:2.1 end:vcard
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
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.1Type: 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. >
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Cheers for your help, im on it. Also would you have a snippet of ActionMapping.class. As i think i've corrected what i had altered previously in a fit of glory. Cheers Chuckie Calvin Yu wrote: >Part 1.1Type: Plain Text (text/plain) >Encoding: quoted-printable -- 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.
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi, the struts jar is in the WEB-INF\lib dir as with all the others. Cheers Chuck. By the way have u got a snippet of ActionMappings.class you could mail. Peter Alfors wrote: That is the correct package... Where do you have your struts jar? Pete Chuck Amadi wrote: > 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 dilwch bob copi. Name: peter.alfors.vcf peter.alfors.vcf Type: VCard (text/x-vcard) Encoding: 7bit Description: Card for Peter Alfors -- 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.
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of ActionMappings.class. As i have located a copy in the struts-example in another application albeit i can't access it. Cheers Chuck Calvin Yu wrote: > 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.1Type: 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 dilwch bob copi. > > --
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Are you looking for the ActionMapping class file or java file? either way, it should be in your download of struts??? Pete Chuck Amadi wrote: > Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of > ActionMappings.class. > As i have located a copy in the struts-example in another application albeit i > can't access it. > Cheers Chuck > > Calvin Yu wrote: > > > 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.1Type: 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 address
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Ahh... I think I see what you are trying to do. You have your own modified version of the AcitonMappings class. If you want to add classes to the web-inf/classes directory, then you will need to add the appropriate directory structure that corresponds to the package. Therefore, make an web-inf/classes/org/apache/struts/action directory and place your ActionMapping class in it. HTH, Pete Chuck Amadi wrote: > Hi does explain anything that can be digestable and config my .java files > problems as i am aware that i have declared the right package path. except for > ActionMappings.class thus any suggstions. > I have inc a visual of the problem. > > Cheers all > > Calvin Yu wrote: > > > 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.1Type: 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 > &
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi, you got it i couldn't recall what i had done as i have been install a few taglib's in order to have the right tools . Anyway i will try out your suggestion. Much appreciated for you help.Can't wait when i get a clear understanding of jsp and beans. Cheers Chuckie Peter Alfors wrote: > Ahh... I think I see what you are trying to do. > You have your own modified version of the AcitonMappings class. > If you want to add classes to the web-inf/classes directory, then you will need to > add the appropriate directory structure > that corresponds to the package. Therefore, make an > web-inf/classes/org/apache/struts/action directory and place your ActionMapping > class in it. > > HTH, > Pete > > Chuck Amadi wrote: > > > Hi does explain anything that can be digestable and config my .java files > > problems as i am aware that i have declared the right package path. except for > > ActionMappings.class thus any suggstions. > > I have inc a visual of the problem. > > > > Cheers all > > > > Calvin Yu wrote: > > > > > 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.1Type: Plain Text (text/plain) > > > > > >Encoding: 8bit > > > > > > > > > > -- > > > > > The views expressed by the sender of this message don't &
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi, Peter i have completed the file structure albiet it is sensative to the hyphen separting. package WEB-INF.classes.org.apache.struts; Thus i am aware that i have to use the dot notation.or can i begin the package path from say org\apache\struts\action\ActionMappings.java Cheers Chuck. Peter Alfors wrote: Ahh... I think I see what you are trying to do. You have your own modified version of the AcitonMappings class. If you want to add classes to the web-inf/classes directory, then you will need to add the appropriate directory structure that corresponds to the package. Therefore, make an web-inf/classes/org/apache/struts/action directory and place your ActionMapping class in it. HTH, Pete Chuck Amadi wrote: > Hi does explain anything that can be digestable and config my .java files > problems as i am aware that i have declared the right package path. except for > ActionMappings.class thus any suggstions. > I have inc a visual of the problem. > > Cheers all > > Calvin Yu wrote: > > > 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 > > &g
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi, again i believe that i can create a classes dir at the same level as WEB-INF\ Thus if i C & P and thereby i will then i have a class path as follows classes\org.apache.struts.action.ActionMapping.class is this feasiable as i can do away with hyphen within WEB-INF. Peter Alfors wrote: Ahh... I think I see what you are trying to do. You have your own modified version of the AcitonMappings class. If you want to add classes to the web-inf/classes directory, then you will need to add the appropriate directory structure that corresponds to the package. Therefore, make an web-inf/classes/org/apache/struts/action directory and place your ActionMapping class in it. HTH, Pete Chuck Amadi wrote: > Hi does explain anything that can be digestable and config my .java files > problems as i am aware that i have declared the right package path. except for > ActionMappings.class thus any suggstions. > I have inc a visual of the problem. > > Cheers all > > Calvin Yu wrote: > > > 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 Awd
RE: SV: pls Help Invalid Package Declartions .java File Wont compile
Please add struts.jar in your classpath when you compile your classes. Regards -Original Message-From: Chuck Amadi [mailto:[EMAIL PROTECTED]]Sent: Wednesday, July 04, 2001 9:43 AMTo: [EMAIL PROTECTED]Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont compileHi, Peter i have completed the file structure albiet it is sensative to the hyphen separting. package WEB-INF.classes.org.apache.struts; Thus i am aware that i have to use the dot notation.or can i begin the package path from say org\apache\struts\action\ActionMappings.java Cheers Chuck. Peter Alfors wrote: Ahh... I think I see what you are trying to do. You have your own modified version of the AcitonMappings class. If you want to add classes to the web-inf/classes directory, then you will need to add the appropriate directory structure that corresponds to the package. Therefore, make an web-inf/classes/org/apache/struts/action directory and place your ActionMapping class in it. HTH, Pete Chuck Amadi wrote: > Hi does explain anything that can be digestable and config my .java files > problems as i am aware that i have declared the right package path. except for > ActionMappings.class thus any suggstions. > I have inc a visual of the problem. > > Cheers all > > Calvin Yu wrote: > > > 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: > > > > > > &g
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi, i have included all the .jar's within my WEB-INF\lib dir. .Nevertheless cheers . Meeraj Kunnumpurath wrote: >Part 1.1Type: Plain Text (text/plain) -- 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.
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi , i have located and redeployed struts-package ( jakarta-struts1-.0-b2) to tomcat-3.2.2 . Thus renemd the struts-blank to bbnp ( my other webapp is bbnpa ) anyway on restarting tomcat -3.2.2 i have the following - ROOT,admin,bbnpa(original webapp),examples,bbnp(struts-blank),test & the other struts-files. Thus the claases within these files all work albeit i still cant find Action Classes. I have also tried the \struts-examples.index.jsp and everything compiled. So i am continplating transfering my old to the new bbnp (webapp).And then redploy all the jar's & tld's. Any pointers to were that Action Class is or is it a Abstract class - final modifer (can't be over ridden). Peter Alfors wrote: Are you looking for the ActionMapping class file or java file? either way, it should be in your download of struts??? Pete Chuck Amadi wrote: > Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of > ActionMappings.class. > As i have located a copy in the struts-example in another application albeit i > can't access it. > Cheers Chuck > > Calvin Yu wrote: > > > 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. >
Re: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi again, i have encountered within the strus-examples a class path that states the wrong name.I have attached a visual for your perusal. Please comment Cheers chuck. Peter Alfors wrote: > Are you looking for the ActionMapping class file or java file? > either way, it should be in your download of struts??? > > Pete > > Chuck Amadi wrote: > > > Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of > > ActionMappings.class. > > As i have located a copy in the struts-example in another application albeit i > > can't access it. > > Cheers Chuck > > > > Calvin Yu wrote: > > > > > 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.1Type: 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 > >
Re: SV: SV: pls Help Invalid Package Declartions .java File Wont compile
Hi , I wll take time -out 2 night 4 a quite tomcat doc read , Cheers for your input. Mikkel Bruun wrote: >Part 1.1Type: Plain Text (text/plain) >Encoding: quoted-printable -- 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.