erm...its a war...

-igor


On Jan 30, 2008 5:09 AM, Gurvinder Pal Singh <[EMAIL PROTECTED]> wrote:
>
>
> Is mvn package package compatible to tomcat...i mean will the war run on
> tomcat server?
>
> Thanks & Regards
> Gurvinder Pal Singh
>
>
>
> igor.vaynberg wrote:
> >
> > the link i pointed to generates wicket 1.3.0 quickstarts. and if you
> > dont want to use jetty then simply run mvn package and that will
> > generate a war file in the target subdir.
> >
> > -igor
> >
> >
> > On Jan 30, 2008 12:25 AM, Gurvinder Pal Singh
> > <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi , you are right, as the snippet i have given is from the exception
> >> sown in
> >> the wicket-examples project. Also the quick start example u have
> >> mentioned
> >> is of wicket1.2 version and that too for jetty server.
> >> But i have also tried to do create the HelloWorld example from given
> >> examples in the website which has given the following error log on
> >> starting
> >> the tomcat:
> >>
> >> 2008-01-29 11:19:57 StandardContext[/FirstWicketProject]: Exception
> >> starting
> >> filter HelloWorldApplication
> >> org.apache.wicket.WicketRuntimeException: Unable to create application of
> >> class org.apache.wicket.examples.helloworld.HelloWorldApplication
> >>         at
> >> org.apache.wicket.protocol.http.ContextParamWebApplicationFactory.createApplication(ContextParamWebApplicationFactory.java:82)
> >>         at
> >> org.apache.wicket.protocol.http.ContextParamWebApplicationFactory.createApplication(ContextParamWebApplicationFactory.java:49)
> >>         at
> >> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:496)
> >>         at
> >> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:254)
> >>         at
> >> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:314)
> >>         at
> >> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:120)
> >>         at
> >> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3158)
> >>         at
> >> org.apache.catalina.core.StandardContext.start(StandardContext.java:3602)
> >>         at
> >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
> >>         at
> >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
> >>         at
> >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
> >>         at
> >> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:257)
> >>         at
> >> org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
> >>         at
> >> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569)
> >>         at
> >> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
> >>         at
> >> org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
> >>         at
> >> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
> >>         at
> >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
> >>         at
> >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
> >>         at
> >> org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> >>         at
> >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> >>         at
> >> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
> >>         at
> >> org.apache.catalina.core.StandardService.start(StandardService.java:497)
> >>         at
> >> org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
> >>         at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> >>         at
> >> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> >>         at
> >> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> >>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>         at
> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>         at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>         at java.lang.reflect.Method.invoke(Method.java:324)
> >>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> >> Caused by: java.lang.ClassNotFoundException:
> >> org.apache.wicket.examples.helloworld.HelloWorldApplication
> >>         at
> >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1428)
> >>         at
> >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
> >>         at
> >> org.apache.wicket.protocol.http.ContextParamWebApplicationFactory.createApplication(ContextParamWebApplicationFactory.java:68)
> >>         ... 31 more
> >>
> >> Thanks & Regards,
> >> Gurvinder Pal Singh
> >>
> >>
> >>
> >>
> >> Martijn Dashorst wrote:
> >> >
> >> > and you try to run the examples in java 4 instead of java 5
> >> >
> >> > On 1/30/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> if you want to create a hello world app quickly and properly then go
> >> here
> >> >>
> >> >> http://wicket.apache.org/quickstart.html
> >> >>
> >> >> and run the command given in the textarea.
> >> >>
> >> >> it looks like you are trying to startup the wicket-examples project
> >> >> and not the hello world you created...
> >> >>
> >> >> -igor
> >> >>
> >> >>
> >> >> On Jan 29, 2008 10:37 PM, Gurvinder Pal Singh
> >> >> <[EMAIL PROTECTED]> wrote:
> >> >> >
> >> >> > Hi, i created an HelloWorld application in Wicket framwork as
> >> described
> >> >> in
> >> >> > their web page, but i am getting following exceptions. Please
> >> somebody
> >> >> help
> >> >> > me beacuse i am not getting a moveon from here on..
> >> >> >
> >> >> > org.apache.wicket.WicketRuntimeException: Unable to create
> >> application
> >> >> of
> >> >> > class
> >> org.apache.wicket.examples.velocity.VelocityTemplateApplication
> >> >> >
> >> >> > 2008-01-29 18:40:35 StandardContext[/wicket-examples-1.3.0]:
> >> Exception
> >> >> > starting filter WizardApplication
> >> >> > java.lang.UnsupportedClassVersionError:
> >> >> > org/apache/wicket/examples/wizard/WizardApplication (Unsupported
> >> >> major.minor
> >> >> > version 49.0)
> >> >> >
> >> >> > Thanks & Regards,
> >> >> > Gurvinder Pal Singh
> >> >> > --
> >> >> > View this message in context:
> >> >>
> >> http://www.nabble.com/Getting-the-exception-while-starting-a-application-in-tomcat-tp15176392p15176392.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]
> >> >> >
> >> >> >
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Buy Wicket in Action: http://manning.com/dashorst
> >> > Apache Wicket 1.3.0 is released
> >> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Getting-the-exception-while-starting-a-application-in-tomcat-tp15176392p15177209.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]
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Getting-the-exception-while-starting-a-application-in-tomcat-tp15176392p15181824.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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to