According to TLD or attribute directive in tag file, attribute items does not accep t any expressions

简介: According to TLD or attribute directive in tag file, attribute items does not accep t any expressions   严重: Servlet.

According to TLD or attribute directive in tag file, attribute items does not accep t any expressions

 

  1. 严重: Servlet.service() for servlet jsp threw exception
  2. org.apache.jasper.JasperException: /selectorTagtest.jsp(26,8) According to TLD or attribute directive in tag file, attribute items does not accep
  3. t any expressions
  4.     at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
  5.     at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
  6.     at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
  7.     at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1172)
  8.     at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:819)
  9.     at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
  10.     at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
  11.     at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
  12.     at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
  13.     at org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
  14.     at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
  15.     at org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
  16.     at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:165)
  17.     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
  18.     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:294)
  19.     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:281)
  20.     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
  21.     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
  22.     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
  23.     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
  24.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  25.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  26.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  27.     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
  28.     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
  29.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  30.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  31.     at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:413)
  32.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  33.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  34.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
  35.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  36.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  37.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  38.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  39.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
  40.     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  41.     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  42.     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  43.     at java.lang.Thread.run(Thread.java:595)

解决方法:

<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
改为:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

目录
相关文章
|
6月前
|
XML C# 数据格式
C#报错 The ‘xmins‘ attribute is not supported in this context
System.Xml.Schema.XmlSchemaException:“The ‘xmins’ attribute is not supported in this context.”异常的解决百度翻译:System.Xml.Schema.XmlSchemaException:“此上下文中不支持”xmins“属性。”这是在使用System.Data.DataSet的ReadXml读取x...
48 0
C#报错 The ‘xmins‘ attribute is not supported in this context
|
5月前
|
Java
jstl错误:According to TLD or attribute directive in tag file, attribute value does not accept any expr
jstl错误:According to TLD or attribute directive in tag file, attribute value does not accept any expr
|
10月前
|
Java 微服务
Malformed markup: Attribute “prop“ appears more than once in element
Malformed markup: Attribute “prop“ appears more than once in element
123 0
|
Java
The type XXX cannot be resolved. It is indirectly referenced from required .class files
The type XXX cannot be resolved. It is indirectly referenced from required .class files
84 0
|
编解码 搜索推荐 算法
Data-Data Objects and Attribute Types| 学习笔记
快速学习 Data-Data Objects and Attribute Types。
131 0
Data-Data Objects and Attribute Types| 学习笔记
No injector for custom defined data type的解决办法
No injector for custom defined data type的解决办法
224 0
No injector for custom defined data type的解决办法
|
XML Java 数据库连接
Open quote is expected for attribute "{1}" associated with an element type "id".
Open quote is expected for attribute "{1}" associated with an element type "id".
153 0
Open quote is expected for attribute "{1}" associated with an element type "id".
OPA 15 - find existing item by its type.note
Created by Wang, Jerry, last modified on Nov 08, 2015
124 0
OPA 15 - find existing item by its type.note
|
TensorFlow 算法框架/工具
has no attribute ‘swish‘
has no attribute ‘swish‘
137 0