Unable to resolve absolute uri in web.xml or jar file deployed with this application: [http://java.sun.com/jsp/jstl/core] [pro test works]

Problem Description:

Unable to resolve absolute uri in web.xml or jar file deployed with this application: [http://java.sun.com/jsp/jstl/core]

Cause Analysis:

Reason 1: The dependent jar package of jstl has not been imported successfully.
Reason 2: The jstl expression needs to rely on the support of servlet.api.jar in tomcat before it can be used normally. If the dependency of this jar package is not added, the above bug will be reported.


solution:

First, check whether the jstl dependent jar package is imported successfully. I put jstl.jar and standar.jar in the libs folder under the WEB-INF directory. If the error is still reported, click the plus sign to select jar, and then find the servlet-api.jar package in the lib directory of the tomcat installation path and add it.
insert image description here
Don’t panic when encountering problems, you should take the initiative to find the cause and solve it, which is the key to our progress and growth.

Guess you like

Origin blog.csdn.net/weixin_48627356/article/details/121186464
Recommended