简体   繁体   中英

eclipse juno jstl error cannot find tag lib

I have recently upgraded my Eclipse to Juno. Now when I open my Spring MVC project all my jsp files are marked with errors. 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. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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