Stephan van Hulst wrote:Please show us an example of a (short) class that is not compiling.
Please find one of the classes below ( irrelevant code has been removed for brevity):
The errors I can see in eclipse are on the folowing lines:
Line #14 for import org.apache.struts.actions.DispatchAction;
Error Description from Eclipse:
The import org.apache.struts.actions cannot be resolved
Console says: package org.apache.struts.actions does not exist on the same line
Line #18 with red underline on DispatchAction for public class UploadAction extends DispatchAction {
Error Description from Eclipse:
DispatchAction cannot be resolved to a type
Console says: cannot find symbol
Line #35 and #47 saveErrors(request, errors);
Error Description from Eclipse:
The method saveErrors(HttpServletRequest, ActionMessages) is undefined for the type UploadAction
The error here is different than my original post error here for saveErrors.
Line #53 for saveMessages(request,errors);
Error Description from Eclipse:
The method saveMessages(HttpServletRequest, ActionMessages) is undefined for the type UploadAction
I wonder why other
imports with org.apache.struts.action are working even though I got rid of
org.apache.struts.action from the dependency and it's only complaining
for DispatchAction. Similarly, there's another class where it's complaining about
import org.apache.struts.validator.ValidatorActionForm;