• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Can't get Struts to work with Resin

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using Struts 1.0.2 and Resin 2.1.6 and JDK
1.4.
I dropped the struts-example.war file into <resin>/webapps

This is the error message I get when I tried http://localhost:8080/struts-example:
500 Servlet Exception
java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo V
at com.caucho.jsp.Taglib.fillTag(Taglib.java:450)
at com.caucho.jsp.Taglib.fillTagLibraryInfo(Taglib.java:377)
at com.caucho.jsp.Taglib.<init>(Taglib.java:165)
at com.caucho.jsp.JspParser.processTaglib(JspParser.java:1796)
at com.caucho.jsp.JspParser.parseTaglibDirective(JspParser.java:1765)
at com.caucho.jsp.JspParser.parseDirective(JspParser.java:1435)
at com.caucho.jsp.JspParser.parseScriptlet(JspParser.java:1293)
at com.caucho.jsp.JspParser.parseNode(JspParser.java:540)
at com.caucho.jsp.JspParser.parseJsp(JspParser.java:453)
at com.caucho.jsp.JspParser.parse(JspParser.java:284)
at com.caucho.jsp.JspParser.parse(JspParser.java:232)
at com.caucho.jsp.JspManager.createPage(JspManager.java:175)
at com.caucho.jsp.PageManager.getPage(PageManager.java:346)
at com.caucho.jsp.PageManager.getPage(PageManager.java:201)
at com.caucho.jsp.QServlet.getPage(QServlet.java:220)
at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:129)
at com.caucho.server.http.Invocation.service(Invocation.java:312)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:244)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
at java.lang.Thread.run(Thread.java:536)
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried it with Resin 2.1.7 and it worked. Are the sample apps that are included with Resin working?
 
Jim Johnson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, the sample apps that came with Resin work fine. My apps that use MySQL work fine also. I just can't get Struts to work? Am I missing something? I suspect it has to do with the Resin servlet package.
BTW: I can get Tomcat 4.0 and struts to work fine out of the box.

Originally posted by Matthew Phillips:
I tried it with Resin 2.1.7 and it worked. Are the sample apps that are included with Resin working?

 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check resin/lib to see if struts.jar is in there. If it is, delete it.
 
A wop bop a lu bop a womp bam boom! Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic