Hello,
I am studying SAMS Teach Yourself JSP in 21 days and this book has a
chapter on Struts. The book comes with sample code and I tried running
the code on this chapter on Struts in Tomcat 5.5.16.
The application is fairly simple but I get this error when I try to
run it:
org.apache.jasper.JasperException: Failed to load or instantiate
TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:
510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Can anybody please explain what this error means and how to fix it?
Thanks
Ros
Richard Senior - 28 Apr 2007 14:30 GMT
> I am studying SAMS Teach Yourself JSP in 21 days and this book has a
> chapter on Struts. The book comes with sample code and I tried running
[quoted text clipped - 5 lines]
> org.apache.jasper.JasperException: Failed to load or instantiate
> TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei
Looks like it can't find the Struts Bean tag library. This lives in the
struts-taglib-x.y.z.jar file (where x.y.z) is the version of Struts you
are using, e.g. 1.3.8.
Where did you put the Struts jar files? In WEB-INF/lib or in Tomcat's
shared/lib directory? Have a look at this:
http://mail-archives.apache.org/mod_mbox/tomcat-dev/200301.mbox/%3C2003010801145
2.22644.qmail@nagoya.betaversion.org%3E
Regards,
Richard