开发者

How can I begin using Wicket? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. 开发者_C百科 Closed 11 years ago.

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:

  1. Right click on the Wicket project folder, select run As > Maven Clean, then run As > Maven Install. This will build your Wicket project.
  2. 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, in Goals type in jetty:run. Now, you will have jetty running your application at localhost:8080/yourAppName

The Jetty run configuration will be available in run As menu for future usage.

This is pretty much it!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜