Eclipse导入项目问题
新导入项目,新安装环境,环境配置没问题,代码没问题,代码如下:
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@ page contentType="text/html;charset=utf-8"%>
<%@ page language="java" import="com.savor.core.util.tools.*"%>
<%
List<CategoryInfo> categoryList = (List<CategoryInfo>)request.getAttribute("categoryList");
if(categoryList == null){
categoryList = new ArrayList<CategoryInfo>();
}
错误是:Multiple annotations found at this line:
- Type safety: Unchecked cast from Object to
List<CategoryInfo>
- CategoryInfo cannot be resolved to a type
应该是找不到CategoryInfo 类,但是我从Open Type中也找不到这个类,项目在同事电脑中运行没问题,请教高手帮我看看到底什么问题!!!