下午部署项目出错,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包冲突:
-
去网上下载需要的jar包:
http://repo2.maven.org/maven2/javax/servlet/jstl/ -
将下载的standard-1.1.2.jar 重命名 为 standard.jar
-
tomcat的lib和项目目录lib下各复制一份OK。