为什么同一个项目其他人可以正常显示,我的某些功能就会报错。

org.apache.jasper.JasperException: /insearch/app/searchtools/cognation_query.jsp(48,4) According to TLD or attribute directive in tag file, attribute list does not accept any expressions

严重: Servlet.service() for servlet jsp threw exception
java.lang.ClassNotFoundException: org.apache.jsp.insearch.app.searchtools.cognation_005fquery_jsp

ERROR >> org.apache.struts2.components.ActionComponent.executeAction(ActionComponent.java:259) >> Could not execute action: /insearch/showCognationInfoAC!forwardPage
org.apache.jasper.JasperException: org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to load class for JSP

你的类库引用有问题吧,或者IDE安装的不完整

参考
struts2标签运行时报错问题 org.apache.jasper.JasperException: /taglib/ifelse.jsp(17,2) According to TLD or attribute directive in tag file, attribute test does not accept any expressions accept any expressions
According to TLD or attribute directive in tag file, attribute items does not accept any expressions
检查一下项目里面使用的标签库是什么版本的,看看是不是你的标签不能被这个版本的标签库识别。