简体   繁体   English

eclipse juno jstl错误找不到标签库

[英]eclipse juno jstl error cannot find tag lib

I have recently upgraded my Eclipse to Juno. 我最近将Eclipse升级到Juno。 Now when I open my Spring MVC project all my jsp files are marked with errors. 现在,当我打开Spring MVC项目时,我所有的jsp文件都标记有错误。 The error is on this line 错误在这条线上

    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>      

And the error message is: 错误消息是:

    Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"

I tried creating a fresh workspace and checking out my project from svn. 我尝试创建一个新的工作区,然后从svn中签出我的项目。 This had no effect. 这没有效果。

I have found that I can fix this by opening each file, making some trivial change and saving the file. 我发现可以通过打开每个文件,进行一些细微的更改并保存文件来解决此问题。 Needless to say, this is not a very scalable fix. 不用说,这不是一个非常可扩展的修复程序。

Any ideas? 有任何想法吗?

You can either Clean the project from the main menubar's Project menu and then Build All, or invoke the Validate action from the project's context menu. 您可以从主菜单栏的“项目”菜单中清洁项目,然后“全部构建”,或者从项目的上下文菜单中调用“验证”操作。 Either will force the jsp files to be revalidated. 要么将强制重新验证jsp文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM