Hi,

Thanks a lot for all ur responses.
I changed the compiler of eclipse and tomcat to 1.5 and now i am not getting
the unsupportedVersionException. Now i am getting a different exception and
log is given below

WicketMessage: Markup of type 'html' for component 'guru.HelloWorld' not
found. Enable debug messages for org.apache.wicket.util.resource to get a
list of all filenames tried:[Page class = guru.HelloWorld, id = 0, version =
0]Root cause:org.apache.wicket.markup.MarkupNotFoundException: Markup not
found. Component class: guru.HelloWorld Enable debug messages for
org.apache.wicket.util.resource to get a list of all filenames tried     at
org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:215)    
at
org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:342)
    
at org.apache.wicket.Page.onRender(Page.java:1435)     at
org.apache.wicket.Component.render(Component.java:2266)     at
org.apache.wicket.Page.renderPage(Page.java:891)     at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:231)
    
at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:103)
    
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1100)  
  
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1169)     at
org.apache.wicket.RequestCycle.steps(RequestCycle.java:1245)     at
org.apache.wicket.RequestCycle.request(RequestCycle.java:489)     at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354)    
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194)    
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)   
 
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)   
 
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)    
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)    
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)    
at java.lang.Thread.run(Unknown Source)Complete
stack:org.apache.wicket.markup.MarkupNotFoundException: Markup of type
'html' for component 'guru.HelloWorld' not found. Enable debug messages for
org.apache.wicket.util.resource to get a list of all filenames tried:[Page
class = guru.HelloWorld, id = 0, version = 0]     at
org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:354)
    
at org.apache.wicket.Page.onRender(Page.java:1435)     at
org.apache.wicket.Component.render(Component.java:2266)     at
org.apache.wicket.Page.renderPage(Page.java:891)     at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:231)
    
at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:103)
    
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1100)  
  
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1169)     at
org.apache.wicket.RequestCycle.steps(RequestCycle.java:1245)     at
org.apache.wicket.RequestCycle.request(RequestCycle.java:489)     at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354)

Thanks & Regards,
Gurvinder Pal Singh


igor.vaynberg wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Getting-the-exception-while-starting-a-application-in-tomcat-tp15176392p15199688.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]

Reply via email to