The error message is:
org.apache.jasper.JasperException: This absolute uri http://java.sun.com/jsp/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application
The above problem occurs in the web project. According to investigation, it is a version problem:
The declaration of JSTL 1.0 is:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core " %>
After JSTL1.1 The declaration is:
<%@ taglib prefix="c" uri=http: //java.sun.com /jsp/ jstl/core %>
In the project, the jstl 1.2 version is already used, and all pages use <% @taglib prefix="c" uri=http://java.sun.com/jsp/jstl/core %> this way. After javaee5, there is only the jstl.jar jar package . There is no standard.jar package. The tld file is also packaged into jstl.jar. There is a saying on the Internet that the solution to configuring jsp-config in the web.xml file is useless. The solution to the problem was finally found: The jstl.jar package is in the ide project, but not under the application WEB-INF/lib published by tomcat. This is the problem of the tool publishing project. Copy a jstl.jar package to the WEB- The problem is solved under INF/lib .
The specific operation method is: find the jstl.jar package in the ide (usually in the MyEclipse9.0 installation directory\Common\plugins\com.genuitec.eclipse.j2eedt.core_9.0.0.me201103181703\data\libraryset\EE_5), then Copy it to WEB-INF/lib, so far the problem is solved.
#################################
The jar package in Intellij can be found by right-clicking the project/Open Module Settings/Modules/Dependencies and clicking the + icon to add, as shown below: