javaweb eclipse 出现 xxx cannot be resolved to a type 错误解决方法

javaweb eclipse 出现 xxx cannot be resolved to a type 错误解决方法
”com.lyq cannot be resolved to a type“,第一行位置:如果没有”import="java.util.*“就会出现报错。

<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="com.lyq.bean.Email" %>

猜你喜欢

转载自blog.csdn.net/txwtech/article/details/80073224