How can I begin using Wicket? [closed]

给你一囗甜甜゛ 提交于 2020-01-02 07:30:07

问题


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.


回答1:


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!



来源:https://stackoverflow.com/questions/5119708/how-can-i-begin-using-wicket

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!