ssh下报错
package action;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts2.ServletActionContext;
import org.springframework.web.struts.ActionSupport;
import service.AlbumService;
import entity.Album;
import entity.Kind;
public class AlbumAction extends ActionSupport {
private static final long serialVersionUID = 1L;
private AlbumService albumService;
private List<Kind> allKind = new ArrayList<Kind>();
private List<Album> allAlbum = new ArrayList<Album>();
AlbumAction 报错 The hierarchy of the type AlbumAction is inconsistent
ActionSupport 报错 The type org.apache.struts.action.Action
cannot be resolved. It is indirectly referenced from required .class files
是不是还有包没有导入 用MYECLIPSE中自动导入包的 struts 2.1 hibernate 3.3 spring 3.0
------解决方案--------------------
类型AlbumAction的层次结构是不一致的
你在你项目的地址看一下包是否齐全