Cannot find the tag library descriptor for http://jakarta.apache.org/struts/tags-tiles
来源:互联网 发布:免费大数据平台有哪些 编辑:程序博客网 时间:2024/05/22 02:16
参考文章:https://zhidao.baidu.com/question/194814638.html
1. Struts标签引用 1.1异常描述The absolute uri: cannot be resolved in either web.xml or the jar files deployed with this application 1.2相关代码 hello.jspJava代码 %@ page language="java" pageEncoding="UTF-8"% %@ taglib uri="" prefix="bean"% %@ taglib uri="" prefix="html"% %@ taglib uri="" prefix="logic"% %@ taglib uri="" prefix="tiles"% %@ page language="java" pageEncoding="UTF-8"% %@ taglib uri="" prefix="bean"% %@ taglib uri="" prefix="html"% %@ taglib uri="" prefix="logic"% %@ taglib uri="" prefix="tiles"%1.3 问题分析 在web.xml或这个工程的所有jar文件中,不能找到绝对uri路径 在jsp页面中使用Jsp自定义标签(包括开源框架的标签库,如jstl,struts,jsf)必须保证标签处理程序(一般被打包成jar),标签描述文件(tld)被正确加载到工程中,并且确保jsp页面中的标签引用指令的uri与tld文件中的uri保持一致 框架或组件一般都会将标签处理程序,标签描述文件一起压缩成一个.jar文件 1.4 解决步骤: 1.4.1 确保struts.jar及相关jar包含在工程WEB-INF/lib目录下; 一般通过这个步骤可以解决大多数这类问题,如果还有同样问题,继续下一个步骤 1.4.2 使用压缩工具解开struts.jar,打开META-INF/tlds下的struts-bean.tld文件 查看uri节点的值是否与jsp页面中的一致;如果不一致,将jsp页面中的uri修改成tld文件中uri节点的值 1.5 总结: 出现以上异常一般有如下原因: 1. struts相关jar包没有发布到WEB-INF/lib目录下 2. 版本问题,在工程中加入1.2/1.1的jar,在jsp页面中却使用1.1/1.2的uri. 本示例就是在工程中加入了1.1的struts,但在jsp页面中使用1.2的uri Struts1.1 uri Struts1.2 uri 1.6 相关技巧: 1.6.1 查看struts版本 Struts.jar中查看META-INF\MANIFEST.MFJava代码 Extension-Name: Struts Framework Specification-Title: Struts Framework Specification-Vendor: The Apache Software Foundation Specification-Version: 1.2.7
0 0
- Cannot find the tag library descriptor for http://jakarta.apache.org/struts/tags-tiles
- Cannot find the tag library descriptor for http://jakarta.apache.org/struts/tags-tiles
- Cannot find the tag library descriptor for http://jakarta.apache.org/struts/tags-tiles这个错误是?
- Can not find the tag library descriptor for "http://struts.apache.org/tags-bean
- Struts2---->Cannot find the tag library descriptor for /struts-tags
- Cannot find the tag library descriptor for /struts-tags问题
- Can not find the tag library descriptor for "/struts-tags"
- Can not find the tag library descriptor for "/struts-tags"`
- Can not find the tag library descriptor for "/struts-tags"
- Can not find the tag library descriptor for "/struts-tags"
- Struts2 : Cannot find the tag library descriptor for /struts-tags in JSP 错误的可能原因
- Can not find the tag library descriptor for "http://www.springframework.org/security/tags"
- 当spring petclinic提示Can not find the tag library descriptor for http://www.springframework.org/tags
- struts报错Can not find the tag library descriptor for "struts-tags"
- Can not find the tag library descriptor for "/struts-tags"问题
- servelet 2.4 +eclipse3.6+struts2.3.16:Can not find the tag library descriptor for "/struts- tags"
- Can not find the tag library descriptor for "/struts-tags"问题
- cannot find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
- 设计模式博客网址
- 关于定时执行任务的解决方法,PendingIntent alarm braocastRecevier等等
- 关于C++ 从命令行输入数据 常用输方法cin的一些理解总结
- 计算机是如何启动的?
- Xcode7与Xcode8及Xcode8.1之间兼容的那些事(持续更新)
- Cannot find the tag library descriptor for http://jakarta.apache.org/struts/tags-tiles
- 卖家必知:10个淘宝刷单技巧轻松提高店铺销量
- html——float与clear详解(深度好文)
- android Media原理学习
- leetcode note--leetcode 349 Intersection of Two Arrays
- java类反射读取项目内的文件
- SLAM学习笔记——(一)SLAM分类
- 决策树模型(Decision TreeModel)和朴素贝叶斯模型(NaiveBayesianModel,NBC)
- spring redis template操作redis与命令行操作redis数据不一致的问题