org.apache.jasper.JasperException: /pages/role-list.jsp (行.: [145], 列: [8]) 根据标记文件中的TLD或attribute指令,attribute[items]不接受任何表达式

org.apache.jasper.JasperException: /pages/role-list.jsp (行.: [145], 列: [8]) 根据标记文件中的TLD或attribute指令,attribute[items]不接受任何表达式

 

web.xml中版本号不兼容产生的问题;
解决方法:
<%@taglib prefix=“c” uri=“http://java.sun.com/jstl/core” %>改为
<%@taglib prefix=“c” uri=“http://java.sun.com/jstl/core_rt” %>

posted @ 2023-05-20 21:11  ナナチ  阅读(50)  评论(0编辑  收藏  举报