What version of Tomcat are you running?
On 1/23/08, gbak1 <[EMAIL PROTECTED]> wrote: > > > Im a newbie and am having problems with the helloworld example. > I have created an ant script to create an application WAR and I can deploy > this WAR to tomcat (running on fedora7). > After deploy, Tomcat fails to start the application and displays the > following message: FAIL - Application at context path > /HelloWorldApplication > could not be started. > This only occurs when I include the filter tags which I copied and pasted > from the example and which I modified to suit my own helloworld > application. > Im now down to guessing and hope someone can point me in the right > direction. > > My web.xml file is: > > <?xml version="1.0" encoding="UTF-8"?> > <web-app id="WebApp_ID" version="2.4" > xmlns="http://java.sun.com/xml/ns/j2ee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> > <display-name>HelloWorldApplication</display-name> > > <filter> > <filter-name>HelloWorldApplication</filter-name> > > <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> > <init-param> > <param-name>applicationClassName</param-name> > > <param-value>main.com.company.HelloWorldApplication</param-value> > </init-param> > </filter> > > <filter-mapping> > <filter-name>HelloWorldApplication</filter-name> > <url-pattern>/hello/*</url-pattern> > </filter-mapping> > </web-app> > > > My WEB-INF structure is: > WEB-INF/classes/main/com/company/HelloWorldApplication.class > WEB-INF/classes/main/com/company/HelloWorld.class > WEB-INF/lib/ all required wicket jars. > WEB-INF/web.xml > > What am I doing wrong? > > Thanks > > > -- > View this message in context: > http://www.nabble.com/Helloworld-Application-cant-be-started-tp15039388p15039388.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
