1. 今天在写东西的时候突然遇到这个问题:

For Spring 3 the tag library specified in the tag library directive (http://www.springframework.org/tags/form) is in the org.springframework.web.servlet-3.x.x.jar file. The URI in the directive must match the URI in the META-INF/spring-form/tld file in this jar file which is <uri>http://www.springframework.org/tags/form</uri>The container (at least Tomcat 7.0 does) will match the URI in the taglib directive of the jsp file, with the URI in the spring-form.tld file provided org.springframework.web.servlet jar-3.xx.jar is in the WEB-INF/lib directory.If you also add an entry to web.xml for the same tag library like:
<jsp-config>
<taglib>
<taglib-uri>http://www.springframework.org/tags/form</taglib-uri>
<taglib-location>spring-form.tld</taglib-location>
</taglib>
</jsp-config>then the container will only look for WEB-INF/spring-form.tld and will not find the tld in the jar file. To make this work you need to manually extract the spring-form.tld from the jar file and add it to the WEB-INF directory. I don't know of any good reason to do this and suspect that having an entry in web.xml is historic and now only causes confusion.

1.  大意是说:http://www.springframework.org/tags/form这个标签库是由org.springframework.web.servlet-3.x.x管理的。对于jsp引擎去解析这个标签库的时候,他是在org.springframework.web.servlet-3.x.x / META-INF/spring-form.tld这个tld文件中查找的。因此只需要在spring-web中有这个tld文件就行了!但是为什么我的这个标签就是无法解析呢???

我此时用的是spring-web.3.2.4.RELEASE版本,我在org.springframework.web.servlet-3.2.4中居然没有找到/META-INF/spring-form.tld文件!!!这难道是版本不兼容的问题,于是我重新换了spring-web.3.2.2.RELEASE版本,这个问题就解决了。。。

2.  用web.xml文件中添加<jsp-config>标签我试过了好像不行,但是也没深究,只要上面能解决问题就行了。。。

我猜测应该是新版本的问题吧。。。

参考:http://forum.spring.io/forum/spring-projects/web/74017-the-absolute-uri-http-www-springframework-org-tags-form-cannot-be-resolved

Can not find the tag library descriptor for http://www.springframework.org/tags/form 解决方法相关推荐

  1. Can not find the tag library descriptor for http://java.sun.com/jsp/jstl/

    jsp页面引入外部的标签<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> ...

  2. Can not find the tag library descriptor for http://java.sun.com/jsp/jstl/core

    在eclipse的jsp里面出现这个错误,主要是缺少.jar文件或是你的.jar版本不匹配. 主要是:JSTL.jar 和 Standard.jar 文件. 去重新下载一下,然后添加到你的lib文件里 ...

  3. Can not find the tag library descriptor for /struts-tags问题

    解决办法: 1.struts.xml位置没有放正确,将struts.xml 放到src目录下,redeploy 2.没有正确导入struts库,把struts2相关的几个lib放在工程的WEB-INF ...

  4. Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core“

    解决: 在WEB-INF/lib里加入 jstl.jar standard.jar两个包即可解决这个问题

  5. 废弃第三方库导致的library not found for -lXXXXX(linker command failed ) 完美解决方法

    编译错误是让人头疼错误,它没有指向具体代码而是指向第三方库的编译错误.有的库可能我们以前使用,现在不再使用,把它删除了或通过Podfile文件修改重新更新了,但是它还是给我们捣乱.通常是对它没有删除干 ...

  6. Implicitly declaring library function ‘scanf‘ with type ‘int (const char *restrict, ...)‘解决方法

    出现此问题的原因是因为使用printf和scanf输入输出函数时没有加头文件 #include <stdio.h>,加上就行了.

  7. 'django_tables2' is not a registered tag library. Must be one of:

    报错来自django-oscar(实验是何敏煌的书第十三章)打开dashboard的某个按钮的时候 TemplateSyntaxError at /dashboard/catalogue/ 'djan ...

  8. manually set focus for tag library

    https:///wiki/display/WEBCUIF/Tag+Library+FAQ#TagLibraryFAQ-HowcanIsetthefocustoanInputfieldorDDLBin ...

  9. No tag datetimepicker defined in tag library imported with prefix s解决

    今天在学习Struts2标签中的datetimepicker出现这样一个exception: No tag "datetimepicker" defined in tag libr ...

最新文章

  1. redis学习之redis基本数据类型以及Jedis
  2. silverlight中递归构造无限级树treeview+checkbox
  3. WIN10 中mysql8 忘记密码
  4. BZOJ1795 : [Ioi2008]Pyramid Base 金字塔地基
  5. 为什么总是有人说Java啰嗦,却没人说C++啰嗦?
  6. 技术人员兼职招聘平台HourlyHerd融资2200万美元C轮融资
  7. iOS开发-仿大众点评iPad侧边导航栏
  8. Ubuntu 系统进不去 左上角减号
  9. css横向排列_前端初学者李不白,html+css的角度,带你分析蘑菇街官网!!!
  10. python数据抓取与实战_Python数据抓取技术与实战 pdf
  11. 《嵌入式 – GD32开发实战指南》第8章 PWM输出
  12. android 动态壁纸 时钟,Android动态时钟壁纸开发
  13. np.mat()和np.transpose
  14. 国人自研开源项目,一款简单易用的 GitLab 替代品
  15. 动态电压恢复器(DVR)模型 Matlab/simulink
  16. “黑产“识别算法(社区检测,相似度,关联关系)
  17. 存储公司芯天下IPO上市申请获受理---义嘉泰骄傲的合作伙伴
  18. 浅谈计算机网络及交换机基础配置
  19. 共享单车c语言项目,共享单车项目分析
  20. AI在招聘领域的这些应用,你会是被第一轮淘汰的吗

热门文章

  1. 为什么工业控制系统需要安全防护?
  2. 举例分析Linux动态库和静态库
  3. 給曾經的三年,寫點什么吧。-紀念華軟
  4. const 与 static readonly 的区别
  5. 互联网协议 — TLS — SNI
  6. OpenShift — 核心概念
  7. KVM — 开启嵌套虚拟化
  8. Windows 08 R2_组策略
  9. 在瑞士最大银行驱动创新
  10. ASP.NET状态管理之三(隐藏域HiddenField)