打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
userphoto

2006.08.09

关注
I‘ve just been experiencing this same problem with a simple Struts deployment running on Tomcat 5.5 and, through a few internet searches and some luck (!) managed to solve it.

It turns out that there are (at least..) two versions of the javax.servlet.jsp.tagext.TagAttributeInfo class file: one in servlet.jar and another alternative in jsp-api.jar. The one in jsp-api.jar is the method that your struts implementation is likely to be looking for.

This error occurs if the servlet.jar file is found in your classpath before the jsp-api.jar. Therefore, ensure that both of these jar files sit in the same location (whether thats within your JRE or web app - so long as your struts application can see them) so that they will both be loaded into your classpath at the same time. To make sure, search for any other copies of these two jar files and get rid of them.

This fixed the problem for me so I hope it might be some help.

但jboss 4.0.2下的javax.servlet.jar包和jsp-api.jar的版本才一致,注意删除目录下的其他servlet.jar,并同时包含才行.
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
JSP頁面標簽的編碼實現(JSP)
JSP 总结
JBPM 4.4 与Tomcat 整合异常java.lang.LinkageError:
VM Bridge FAQ
解决IDEA配置tomcat启动报错问题
(json学习二)使用json需要导入的jar包
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服