Re: Why does my HelloWorldPage not work?

2013-02-21 Thread mike.hua
Thanks for your suggestion! The simple page has run successfully with slf4j-api-1.7.2.jar,wicket-core-6.5.0.jar,wicket-request-6.5.0.jar and wicket-util-6.5.0.jar. I 've learned more from the sample! Then, I would like to appreciate each one friend who has given me hands! Thanks again! --

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread mike.hua
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

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread Martin Grigorov
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

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread mike.hua
Is there any solutions without maven? Because I've never used it,and I am a new Java Web developer! Before using Java, I have used ASP.NET 2.0 for about 7 years. -- View this message in context:

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread mike.hua
Thanks! I have tried it,and the error still happens! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Why-does-my-HelloWorldPage-not-work-tp4656451p4656481.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread mike.hua
Thanks! I have tried it,and the error still happens! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Why-does-my-HelloWorldPage-not-work-tp4656451p4656482.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread mike.hua
Thanks a lot! But now there are some errors in Tomcat server or GlassFish server. *In Tomcat:* Exception starting filter HelloWorldApplication java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils at

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread Ernesto Reinaldo Barreiro
Hi, On Mon, Feb 18, 2013 at 12:28 PM, mike.hua hz...@sohu.com wrote: Thanks a lot! But now there are some errors in Tomcat server or GlassFish server. *In Tomcat:* Exception starting filter HelloWorldApplication java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread Martin Grigorov
I think you don't need Velocity for a Hello World application. You also mentioned that you are a beginner ... Just remove wicket-velocity.jar and velocity.jar from your app. On Mon, Feb 18, 2013 at 1:37 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, On Mon, Feb 18, 2013 at

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread mike.hua
Thank you! But the HelloWorld demo is very simple,and it doesn't need some extra jar files! When I added the velocity-1.7.jar file,the above errors has happened. So I don't know what to do. -- View this message in context:

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread Ernesto Reinaldo Barreiro
Just delete wicket-velocity.jar as Martin suggested. On Mon, Feb 18, 2013 at 12:53 PM, mike.hua hz...@sohu.com wrote: Thank you! But the HelloWorld demo is very simple,and it doesn't need some extra jar files! When I added the velocity-1.7.jar file,the above errors has happened. So I don't

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread Ernesto Reinaldo Barreiro
http://commons.apache.org/lang/ On Mon, Feb 18, 2013 at 1:19 PM, mike.hua hz...@sohu.com wrote: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils is continued after remove velocity.jar! Thank you for your continous help! -- View this message in context:

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread Martin Grigorov
Please paste the code of you HelloWorld page and the list of files in WEB-INF/lib in the produced .war file. On Mon, Feb 18, 2013 at 2:20 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: http://commons.apache.org/lang/ On Mon, Feb 18, 2013 at 1:19 PM, mike.hua hz...@sohu.com wrote:

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread mike.hua
http://apache-wicket.1842946.n4.nabble.com/file/n4656497/WicketError.png The code is in the front of the question! Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Why-does-my-HelloWorldPage-not-work-tp4656451p4656497.html Sent from the Users forum mailing

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread mike.hua
Paste the source code: *HelloWorldPage.html:* *HelloWorldPage.java:* package myWicket; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.basic.Label; public class HelloWorldPage extends WebPage { private static final long serialVersionUID = 1L;

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread Ernesto Reinaldo Barreiro
For Hollo World app you only need wicket jars. wicket-core-6.5.0.jar wicket-util-6.5.0.jar wicket-request-6.5.0.jar On Mon, Feb 18, 2013 at 1:36 PM, mike.hua hz...@sohu.com wrote: Paste the source code: *HelloWorldPage.html:* *HelloWorldPage.java:* package myWicket; import

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread Kees van Dieren
Add http://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jarto you WEB-INF/lib Best regards / Met vriendelijke groet, Kees van Dieren Squins IT Solutions BV Oranjestraat 30 2983 HS Ridderkerk The Netherlands Mobile: +31 (0)6 30413841 www.squins.com Chamber of commerce

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread Martin Grigorov
Do not add anything! Just remove all jars but wicket-core.jar, wicket-util.jar and wicket-request.jar. On Mon, Feb 18, 2013 at 3:31 PM, Kees van Dieren i...@squins.com wrote: Add http://repo1.maven.org/maven2/commons-lang/commons-lang/2.6/commons-lang-2.6.jarto you WEB-INF/lib Best

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread mike.hua
Thanks for Martin and Ernesto's help! I have done that,but other Errors happened! Tomcat Server: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component

Re: Why does my HelloWorldPage not work?

2013-02-18 Thread Ondrej Zizka
Hi Mike, These problems are not wicket specific. I'd suggest to make your life easier and switch to Maven. Then, Maven and IDE would handle most of the dependencies for you - e.g. NetBeans searches all Maven repo for classes of given name, and adds it to dependencies. Otherwise, the process

Re: Why does my HelloWorldPage not work?

2013-02-17 Thread mike.hua
Someone can help me? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Why-does-my-HelloWorldPage-not-work-tp4656451p4656452.html Sent from the Users forum mailing list archive at Nabble.com. - To

RE: Why does my HelloWorldPage not work?

2013-02-17 Thread Colin Rogers
...@sohu.com] Sent: 18 February 2013 11:53 To: users@wicket.apache.org Subject: Re: Why does my HelloWorldPage not work? Someone can help me? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Why-does-my-HelloWorldPage-not-work-tp4656451p4656452.html Sent from the Users forum

回复: RE: Why does my HelloWorldPage not work?

2013-02-17 Thread mike.hua
Message- From: mike.hua [mailto:[hidden email]] Sent: 18 February 2013 11:53 To: [hidden email] Subject: Re: Why does my HelloWorldPage not work? Someone can help me? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Why-does-my-HelloWorldPage-not-work-tp4656451p4656452

RE: Why does my HelloWorldPage not work?

2013-02-17 Thread mike.hua
The error message:*The requested resource () is not available.* Is my wicket project short of any jar files? My wicket project in Eclipse IDE: http://apache-wicket.1842946.n4.nabble.com/file/n4656455/WicketError.png -- View this message in context: