Getting a JSTL error message "The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
2019-04-08 00:30
926 查看
我这个是Spring Boot的内嵌的Tomcat项目报的错。MVC的请另寻百度。
在pom文件添加以下依赖即可,你会发现很神奇的搞定了
<!-- 配置springboot jsp功能 -->
<
dependency
>
<
groupId
>org.apache.tomcat.embed</
groupId
>
<
artifactId
>tomcat-embed-jasper</
artifactId
>
<
version
>8.5.6</
version
>
</
dependency
>
<
dependency
>
<
groupId
>javax.servlet.jsp.jstl</
groupId
>
<
artifactId
>jstl-api</
artifactId
>
<
version
>1.2</
version
>
<
exclusions
>
<
exclusion
>
<
groupId
>javax.servlet</
groupId
>
<
artifactId
>servlet-api</
artifactId
>
</
exclusion
>
<
exclusion
>
<
groupId
>javax.servlet.jsp</
groupId
>
<
artifactId
>jsp-api</
artifactId
>
</
exclusion
>
</
exclusions
>
</
dependency
>
<
dependency
>
<
groupId
>org.glassfish.web</
groupId
>
<
artifactId
>jstl-impl</
artifactId
>
<
version
>1.2</
version
>
<
exclusions
>
<
exclusion
>
<
groupId
>javax.servlet</
groupId
>
<
artifactId
>servlet-api</
artifactId
>
</
exclusion
>
<
exclusion
>
<
groupId
>javax.servlet.jsp</
groupId
>
<
artifactId
>jsp-api</
artifactId
>
</
exclusion
>
<
exclusion
>
<
groupId
>javax.servlet.jsp.jstl</
groupId
>
<
artifactId
>jstl-api</
artifactId
>
</
exclusion
>
</
exclusions
>
</
dependency
>
<!-- 配置springboot jsp功能 结束 -->
相关文章推荐
- [Error] The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml ...
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- Hi there,Error:The absolute uri: http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the jar files deployed
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in ..... 的处理方法
- The 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 absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- 项目报错:The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the
- org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in ……
- 收集几种解决:The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or t
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml... 处理方法
- Maven项目启动报错:The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml
- The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml...