put the ApplicationMapping under classes/org/apache/struts/action
the package declaration is "package org.apache.struts.action; "
when compiling the classes directory & struts.jar should be in the classpath.
 
-----Original Message-----
From: Chuck Amadi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 7:31 AM
To: Craig R. McClanahan
Subject: Any more suggestions (Action Classes) WON'T COMPILE.

Hi all , well i have tried everthing in the book/doc's to no avail, I would like to know that say for instance if one declare a full classpath name i.e package classes/org/apache/struts/action; dir or does on just say declare package action; As i am still having problems with the Action Classes errors below.Also i have a modified Action class as per visual Pls check it out .

note briefly i am unable to compile the .java classes.
 

WEB-INF/classes/org/apache/struts/action/ActionMapping.java [85:1] Class ActionMapping not found in type declaration or import.
public final class ApplicationMapping extends ActionMapping {
                                              ^
WEB-INF/classes/org/apache/struts/action/ActionMapping.java [85:1] Public class action.ApplicationMapping is defined in C:\jakarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes\org\apache\struts\action\ActionMapping.java and must be defined in a file called "ApplicationMapping.java".
public final class ApplicationMapping extends ActionMapping {
                   ^
3 errors
Errors compiling ActionMapping.

--
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