项目背景: springboot+springMvc,页面使用jsp,在使用tomcat部署项目(没使用内置tomcat)后,访问时出现报错。
报错信息:访问页面时出现 “The absolute uri: [http://www.springframework.org/tags/form] cannot be resolved in either web.xml or the jar files deployed with this application”
报错位置:“<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>”
百度后的原因:taglib缺少必须的tld文件
解决办法: 下载 spring-form.tld文件放到WEB-INF下解决问题
另附送 jstl :https://download.csdn.net/download/q491978068/12292572