关于Eclipse 出现cannot be resolved to a type 问题

Joker49 Joker49 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
下面是我的代码 我是想改网站 copy别人的代码 但是出现红字部分cannot be resolved to a type 的问题 别人代码的文件夹下的jar class文件我都copy了 但是出现这样的情况 不知道为何 也百度了 也没用啊 = = 谢谢帮助


<%@ page language="java" import="java.util.*,Dal.*,Mod.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>






<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'top.jsp' starting page</title>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<link href="css/master.css" rel="stylesheet" type="text/css" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link id="main_stylesheet" rel="stylesheet" href="css/style.css" type="text/css" />

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/jquery.scrollTo-min.js"></script>
<script type="text/javascript" src="js/aktuals.js"></script>
<script type="text/javascript" src="css/jump.js"></script>
<script type="text/javascript" src="css/nicEdit.js"></script>

</head>

<body>
<div id="btmdiv"></div>
<div id="logo"><img src="images/logo.jpg" /></div>


<div id="menu">
<ul id="chinamenu">
<li><a href="index.jsp">首页</a></li>
<li><a href="introduce.jsp?id=1">个人租车网介绍</a></li>
<%
List<BlogType> top_bs=new BlogTypeServer().GetAll();
request.setAttribute("top_bs", top_bs);

%>
<c:forEach items="${ top_bs }" var="b">
<li><a href="blog.jsp?type=${b.id }">${b.type }</a></li>
</c:forEach>
<%
List<BoardType> top_board=new BoardTypeServer().GetAll();
request.setAttribute("top_board", top_board);

%>
<c:forEach items="${ top_board }" var="b">
<li><a href="board.jsp?type=${b.id }">${b.type }</a></li>
</c:forEach>
<li><a href="photo.jsp">图片示例</a></li>
</ul>
<!--
<ul id="enmenu">
<li><a href="index.htm">Index</a></li>
<li><a href="show.htm">show</a></li>
<li><a href="buy.htm">buy</a></li>
<li><a href="news.htm">news</a></li>
<li><a href="about.htm">about</a></li>
<li><a href="call.htm">call</a></li>
</ul>
-->
</div>
<div id="gg"><marquee id="mar" direction="left" scrollamount="2"><%=new IntroduceServer().GetByID(2).getContent() %></marquee></div>

</body>
</html>




...全文
评论 7
收藏 已收藏
分享
返回顶部
Joker49
Eclipse 58,440 成员 49,457 内容