Original blog address: https://blog.csdn.net/kolamemo/article/details/51407467
According to the information, JSTL taglib needs JSTL. Jar to support. In the 1.0 and 1.1 versions, standard. Jar is also needed. However, since version 1.2, the name of the jar file has changed to jstl-1.2.jar, and standard.jar is no longer needed. In addition, the servlet version needs to be more than 2.4. So the right way is to put jstl-1.2.jar into WEB-INF/lib. Or it can be configured through maven, as follows:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
Then you see this error at run time:
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jstl/core Cannot be resolved in either web.xml or the jar files deployed with this application
this is a URI error. In jstl.jar version 1.0 and 1.1, there was no “JSP” in the name. But after 1.2, it became http://java.sun.com/jsp/jstl/core The problem is solved after modification
Similar Posts:
- [Solved] JSTL1.2 Error: org.apache.catalina.core.StandardWrapperValve.invoke…
- [Solved] Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”
- Tomcat 8.5 reports errors using JSTL [How to Solve]
- Maven does not have a servlet (an error is reported after the servlet is created)
- Springboot always reports an error when importing JSP dependencies
- [Solved] java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUni
- java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config [How to Solve]
- [Solved] SparkSQL Error: org.apache.hadoop.security.HadoopKerberosName.setRuleMechanism
- [Solved] Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses
- [Solved] Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses