How can I begin using Wicket? [closed]
I installed Wicket per the rules of the Wicket site. How do I run Wicket within my IDE, Eclipse? I have added all the necessary plug-ins.
I expect you have configured as per quick-start guide here: http://wicket.apache.org/start/quickstart.html
There is a configuration setting for Eclipse as well. Now, if you have your project in Eclipse and you have m2eclipse plugin (Maven-2 for Eclipse) installed. Follow the steps below:
- Right click on the Wicket project folder, select
run As > Maven Clean
, thenrun As > Maven Install
. This will build your Wicket project. - TO start Jetty, you will need to do some more steps
- Right click on wicket project folder, 'run As > run configurations..`
- Create new Maven Build configuration, give a name, select wicket projects directory as
Base Directory
, inGoals
type injetty:run
. Now, you will have jetty running your application atlocalhost:8080/yourAppName
The Jetty run configuration will be available in run As
menu for future usage.
This is pretty much it!
精彩评论