javaweb eclipse 出现 xxx cannot be resolved to a type 错误解决方法
程序员文章站
2022-04-28 13:28:08
...
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" %>