`
zhangyouzhi
  • 浏览: 19400 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论

JSP中"List cannot be resolved to a type!"的解决办法

 
阅读更多

List cannot be resolved to a type表示List不能被定义为一个类型
这个错误要导入java.util.*包。

在jsp中使用List前加上 <%@ page import="java.util.*" %>就可以解决问题。


分享到:
评论

相关推荐

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

    Java Eclipse 出现 "xxx cannot be resolved to a type" 错误解决方法 Java Eclipse 是一个功能强大且广泛使用的集成开发环境(IDE),但是在使用过程中可能会出现各种错误信息,例如 "xxx cannot be resolved to a...

    测试类报错Test cannot be resolved to a type-附件资源

    测试类报错Test cannot be resolved to a type-附件资源

    httpcomponents-client-4.5.5-bin和src_20180518.zip

    &gt; ★BasicNameValuePair cannot be resolved to a type &gt; ★HttpPost cannot be resolved to a type &gt; ★NameValuePair cannot be resolved to a type &gt; ★HttpClient cannot be resolved to a type &gt; ★Http cannot...

    导入工程的“The import android cannot be resolved”错误解决方法

    在进行Android应用开发时,尤其是使用Eclipse作为集成开发环境(IDE)时,开发者可能会遇到一个常见的错误:“The import android cannot be resolved”。这个错误通常发生在尝试导入或打开一个已存在的Android项目...

    The import com.loopj cannot be resolved 的解决方案

    在编程过程中,我们时常会遇到各种编译错误,其中一种常见的问题是"The import com.loopj cannot be resolved"。这个错误信息表明你的项目无法找到`com.loopj`包,这通常是由于缺少必要的库文件导致的。`com.loopj`...

    解决The type org.springframework.dao.support.DaoSupport cannot be resolved.bao报错

    在开发Spring框架相关的Java应用时,可能会遇到"The type org.springframework.dao.support.DaoSupport cannot be resolved"的错误提示。这个错误通常意味着编译环境无法找到`DaoSupport`类,这是Spring DAO模块中的...

    estableRuntimeException cannot be resolved 解决

    在Java编程环境中,我们经常会遇到编译错误提示“XXX cannot be resolved”,这通常意味着系统无法找到指定的类或方法。在这种情况下,"org.apache.commons.lang.exception.NestableRuntimeException cannot be ...

    JSON-java-master.zip

    JSONObject cannot be resolved to a type 是因为缺少对应的依赖包:org-json.rar 包的来源github的项目:https://github.com/stleary/JSON-java中的Readme可以找到依赖包的地址。

    jar.zip解决The import javax.crypto cannot be resolved

    然而,有时在开发过程中,我们可能会遇到"The import javax.crypto cannot be resolved"这样的错误提示,这意味着编译器无法找到这个包或者其依赖的库。这通常是由于JDK的默认配置中未包含某些安全相关的扩展,如...

    variable name cannot be resolved(解决方案).md

    variable name cannot be resolved(解决方案).md

    rsslib4j-0.2.jar jar包,解决java报错找不到资源包问题 The import org.gnu cannot be resolved

    rsslib4j-0.2.jar jar包,解决java报错找不到资源包问题 The import org.gnu cannot be resolved。 报错 import org.gnu.stealthp.rsslib.*; RSSChannel、RSSException、RSSHandler、RSSItem、RSSParser

    java错误提示英汉对照

    - **Pattern范式、模式、样式**:指的是一种解决常见问题的模板或者指导原则,在设计模式中尤为常见。 #### 二、编程术语对照与解释 接下来,我们将对文档中提到的一些术语进行详细的对照和解释: ##### - 类别与...

    *Renderer implements TableCellRenderer

    在Java Swing中,`TableCellRenderer` 是一个接口,它在创建和显示JTable组件中的单元格内容时扮演着至关重要的角色。标题“*Renderer implements TableCellRenderer”表明我们正在讨论一个自定义的渲染器,该渲染器...

    Word模板-授权委托书.wpt

    Word模板-授权委托书.wpt

    解决The project cannot be built until build path

    解决 Eclipse 中“项目无法构建直到build path”问题 Eclipse 是一个功能强大且流行的集成开发环境(IDE),广泛应用于 Java Web 开发中。但是在使用 Eclipse 进行项目开发时,经常会遇到“项目无法构建直到build ...

    JSTL 发生jar包错误

    JSTL 标签 发生 uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application问题时解决方法

    apache-ant-1.8.2.jar

    The type org.apache.tools.ant.Task cannot be resolved. It is indirectly referenced from required .class files错误....., 解决办法:在工程中加入此jar包

    commons-lang3-3.1.jar

    当你在项目中遇到"The import org.apache.commons.lang3 cannot be resolved"的错误时,通常是因为缺少了这个库的引用,导致你的代码无法找到所需的类。 `org.apache.commons.lang3`是该库的主要包名,其中包含了...

Global site tag (gtag.js) - Google Analytics