网上介绍了很多情况。我说一下我遇见的。
maven pom.xml文件中jstl错误
<!-- https://mvnrepository.com/artifact/javax.servlet.jsp.jstl/jstl -->
<dependency>
<groupId>javax.servlet.jsp.jstl</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
应为下面
<!-- https://mvnrepository.com/artifact/jstl/jstl -->
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
本文分享了一位开发者在配置Maven项目的pom.xml文件时遇到的关于JSTL依赖的问题及解决方案。原本使用的是javax.servlet.jsp.jstl作为groupId, 实际上应使用jstl作为正确的groupId。
3346

被折叠的 条评论
为什么被折叠?



