[Solved] Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”

Change the computer, and then get the previous project to the new computer, as a result, all the JSP have such a problem, previously can be used, I do not know what is the reason, may be eclipse?Eclipse used to be Mars version, but now it is the latest version of oxygen under the official website. It’s said that there is no standard.jar on the Internet, but if the JSTL version is 1.2, I don’t need this jar. It happens that my maven jstl-1.2 also confirms that I have downloaded the jar, but I still report this error, and I can’t figure out why. Then try to change to the URI value corresponding to jstl-1.1 and jstl-1.0, but it still can’t. later, with the mentality of being a dead horse doctor, add the following in pom.xml:

<dependency>
	<groupId>taglibs</groupId>
	<artifactId>standard</artifactId>
	<version>1.1.2</version>
</dependency>

After adding standard. Jar, all JSP pages will not report errors, the reality is really ironic

The above is my solution, but I still don’t know the cause of the problem. Why was it OK in the eclipse Mars version before, but it’s not OK in eclipse oxygen now, but maybe it’s a new Maven?It used to be maven-3.5.0, but now it’s maven-3.5.2. In principle, it’s not a big version update. Can’t it be so different

Similar Posts: