Resolution for HTTP Status 500 error due to missing tag library under Eclipse

Source: Internet
Author: User

Error message:

HTTP Status 500-the Absolute uri:http://java.sun.com/jstl/core_rt cannot be resolved in either web. xml or the JAR files Deployed with this application


Workaround:

Download two jar packages: the Standard.jar package and the Jstl.jar package are copied to the project's/webcontent/web-inf/lib directory.


Tips: These two packages can be downloaded to the Internet, reference http://tomcat.apache.org/taglibs/standard/can be Standard.jar

About Jstl.jar is not limited to the website, there are many

http://archive.apache.org/dist/jakarta/taglibs/standard/binaries/

Jakarta-taglibs-standard-1.1.2.zip 2004-10-25 20:57 933K This URL two packages have ~ hehe!


Quick Method: Open MyEclipse, build a Web project project, in project properties or right-click->build path->libraries tab, select Jstl 1.2.2 Library expand, below there are two jar packages, By widening the dialog box to a later address and locating the directory address, you can copy both packages to the Eclipse project's specified directory, equivalent to the one that eclipse borrowed from MyEclipse.


For example: The directory address I found is:

D:\Myeclipse2016CI4\plugins\com.genuitec.eclipse.j2eedt.core_13.0.0.me201605020208\data\libraryset\

There are many versions of this directory, which I use:

\ JSTL1.2.1 \ lib \ Javax.servlet.jsp.jstl.jar "Jstl package"

\ JSTL1.2.2 \ lib \ Jstl-impl-1.2.2.jar "standard package"


(Novice Summary: In fact, JSTL packet observation suffix is not at the end of Jstl, standard package is to see if it starts with Jstl)

I heard standard package has 4 versions: Impl, Spec, El, compat do not know the difference, but can use, generally with impl




This article from "thinkphp Study notes" blog, declined reprint!

Resolution for HTTP Status 500 error due to missing tag library under Eclipse

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.