wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mike.hua" <hz...@sohu.com>
Subject Re: Why does my "HelloWorldPage" not work?
Date Mon, 18 Feb 2013 10:03:16 GMT
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message