Remove wicket-velocity.jar from the dependencies.
On Mon, Feb 18, 2013 at 12:03 PM, mike.hua <hz...@sohu.com> wrote: > Thank you for your help! > I have changed param-value to "myWicket.HelloWorldApplication",and the > error > appears yet! > In Server log,I can see the error messages below: > *Exception starting filter HelloWorldApplication > java.lang.NoClassDefFoundError: org/apache/velocity/app/Velocity > at org.apache.wicket.velocity.Initializer.init(Initializer.java:61) > at > org.apache.wicket.Application.initInitializers(Application.java:612) > at > org.apache.wicket.Application.initializeComponents(Application.java:521) > at > org.apache.wicket.Application.initApplication(Application.java:817) > at > org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:409) > at > org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:336) > at > > org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) > at > > org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) > at > > org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) > at > > org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4656) > at > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5312) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) > at > > org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) > at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:722) > Caused by: java.lang.ClassNotFoundException: > org.apache.velocity.app.Velocity > at > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) > at > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)* > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Why-does-my-HelloWorldPage-not-work-tp4656451p4656477.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>