Starting a Struts apllication in Tomcat

Un forum dédié aux autres projets de l'Apache Software Foundation.

Modérateur : Modérateurs

javaskater
Nouveau membre
Messages : 1
Inscription : sam. 25 avr. 2009, 11:58

Starting a Struts apllication in Tomcat

Messagepar javaskater » sam. 25 avr. 2009, 12:04

I downloaded the latest version of the struts 1.x serie (1.3.10) and wanted to test the most simple example proposed stuts-blank-1.3.10.war.
For that purpose I put the preceding war file in $TOMCAT_HOME/webapps and called $TOMCAT_HOME/bin/startup.bat...Tomcat starts
When I call the corresponding url (http://localhost:8080/struts-blank-1.3.10/) I get the following error:
java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZLjava/lang/String;ZZLjava/lang/String;Ljava/lang/String;)V
org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:584)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:397)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:250)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:180)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:431)

Which library is missing (servlet-api.jar and jsp-api.jar are in the $TOMCAT_HOME/lib directory)?
Do you know about version incompatibilities?

Thanks for your answer, I am really stuck

Revenir vers « Projets d'apache.org »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 1 invité