---
title: "集成到项目中web.xml报taglib标签错误"
author: "怡然城南"
date: "2012-10-31T15:45:56Z"
tags: []
categories: ["编程语言"]
slug: "web-xml-taglib"
draft: false
lastmod: "2012-10-31T15:45:56Z"
id: 1709565
url: "https://yrcn.iteye.com/blog/1709565"
---

web.xml的报错位置：
<taglib>
    <taglib-uri>/WEB-INF/runqianReport4.tld</taglib-uri>
    <taglib-location>/WEB-INF/runqianReport4.tld</taglib-location>
 </taglib>
 
 改成：
 <jsp-config>
  	<taglib>
	    <taglib-uri>/WEB-INF/runqianReport4.tld</taglib-uri>
	    <taglib-location>/WEB-INF/runqianReport4.tld</taglib-location>
	 </taglib>
  </jsp-config>
就Ok了，原因是web.xml的schema版本的问题（jsp版本）