java部署出错:java.lang.ClassNotFoundException: org.apache.jsp.index_jsp

下午部署项目出错,maven 引入jstl 是 1.2, 解决如下:

错误:

1.The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xm
2.java.lang.ClassNotFoundException: org.apache.jsp.index_jsp

解决

在这里插入图片描述
最后在google解决,意思是jar包冲突:

  1. 去网上下载需要的jar包:
    http://repo2.maven.org/maven2/javax/servlet/jstl/

    http://repo2.maven.org/maven2/taglibs/standard/

  2. 将下载的standard-1.1.2.jar 重命名 为 standard.jar

  3. tomcat的lib和项目目录lib下各复制一份OK。

猜你喜欢

转载自blog.csdn.net/qq_42898087/article/details/88916452