解决Attribute url invalid for tag page according to TLD的问题
一般是tld文件或jsp文件的配置有问题。
1、检查tld文件的标签和地址是否有问题
<!DOCTYPE taglibPUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN""http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib><tlib-version>2.0</tlib-version><jsp-version>1.2</jsp-version><short-name>common</short-name><uri>http://baidu.com/common/</uri><tag><name>page</name><tag-class>com.fengyun.crm.util.NavigationTag</tag-class><body-content>JSP</body-content><!-- 指定标签中的属性 --><attribute><!-- 指定属性名称 --><name>url</name><!-- 该属性为true时表示其指定是属性为必须属性 --><required>true</required><!-- 该属性用于指定能不能使用表达式来动态指定数据,为true时表示可以 --><rtexprvalue>true</rtexprvalue></attribute><attribute><name>bean</name> <rtexprvalue>true</rtexprvalue></attribute><attribute><name>number</name> <rtexprvalue>true</rtexprvalue></attribute></tag>
</taglib>
如果没有问题的话,检查jsp文件中
1、映射是否正确
<%@ taglib prefix="common" uri="http://baidu.com/common/"%>
2、调用是否正确
<common:page url="${pageContext.request.contextPath }/customer/list.action" />
解决Attribute url invalid for tag page according to TLD的问题相关推荐
- Attribute class invalid for tag present according to TLD
在修改jsp界面时,不知道因为哪一块的修改问题,网站突然报500,Attribute class invalid for tag present according to TLD 运行出错,后来找了很 ...
- Tomcat报ClassFormatException: Invalid byte tag in constant pool: 19解决方法
[现象] 严重: Unable to process Jar entry [module-info.class] from Jar [jar:file:/D:/work/demo/target/ROO ...
- 出现 org.apache.tomcat.xxx.ClassFormatException: Invalid byte tag in constant pool: 15 异常的原因及解决方法
1 异常描述 最近,当我从 SVN 检出项目并正常配置完 Tomcat 之后,启动项目,总是报出如下异常: 2 异常原因 通过观察上述标记出来的异常描述,我们可以知道: org.apache.tomc ...
- Invalid nested tag br found, expected closing tag li 错误解决
在用第三方模板itext-pdf来生成pdf的时候,报了以下的错误: com.itextpdf.tool.xml.exceptions.RuntimeWorkerException: Invalid ...
- Invalid param tag: Cannot load command parameter [robot_description]:
在roslaunch运行的时候出现的问题解决: Traceback (most recent call last): File "/opt/ros/kinetic/lib/xacro/xac ...
- org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19
启动项目: 问题描述 严重: Unable to process Jar entry [module-info.class] from Jar [jar:file:/D:/.m2/myboot/org ...
- Invalid byte tag in constant pool 19
Invalid byte tag in constant pool 19 问题发生时: 原tomcat版本为8.0 解决方式: 升级tomcat版本为8.5 若原tomcat版本是8.0或者8.0以下 ...
- Invalid byte tag in constant pool: 18
网上有这个问题得解答,但是解决起来还是很麻烦 aspectj: Invalid byte tag in constant pool: 18 - 知乎 我来说是我得实践 首先这个问题在本地运行一直没问题 ...
- ClassFormatException:Invalid byte tag in constant pool: 18
使用@Aspectj 时遇到的问题 Caused by: org.aspectj.apache.bcel.classfile.ClassFormatException: File: 'com.ls.s ...
最新文章
- Ubuntu 32下Android NDK+NEON的配置过程及简单使用举例
- ​闻一闻就能诊断癌症?可与“狗鼻子”媲美的AI癌症检测系统问世
- linux下163YUM源配置
- 关于python语言的浮点数类型_Python 浮点数数据类型详解(float)[学习 Python 必备基础知识][看此一篇就够了]...
- javaScript call 函数的用法说明
- UITextField
- Python基础教程:条件语句的七种写法
- Sql Server 连接池及其用法
- 【HTTP】另类的POST头数据 RFC1867协议格式简析
- 线段树——操作格子(蓝桥杯试题集)
- 研磨数据结构与算法-13删除二叉树节点
- 列出历史命令_Linux 下如何使用 fc 命令
- 为什么这个SQL Server DBA学习PowerShell--SMO任务及杂项
- 一、Nginx源码安装与yum安装
- Java锁的升降级及synchoronized优化
- [原创]一篇无关技术的小日记(仅作暂存)
- deepin V20.2版本安装MySQL
- Linux ipv6设置
- [LuoGu] P3957 跳房子
- 仿照余额宝余额动态变动