我如何开始使用 Wicket?
我按照 Wicket 站点的规则安装了 Wicket。如何在 IDE Eclipse 中运行 Wicket?我已经添加了所有必要的插件。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我希望您已按照此处的快速入门指南进行配置: http://wicket.apache.org/ start/quickstart.html
Eclipse 也有一个配置设置。现在,如果您的项目位于 Eclipse 中,并且安装了 m2eclipse 插件(Maven-2 for Eclipse)。请按照以下步骤操作:
run As > Maven Clean
,然后运行为> Maven 安装
。这将构建您的 Wicket 项目。Base Directory
,在Goals
中输入jetty:run
。现在,您将让 jetty 在localhost:8080/yourAppName
上运行您的应用程序
Jetty 运行配置将在
run As
菜单中提供,以供将来使用。这差不多了!
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:
run As > Maven Clean
, thenrun As > Maven Install
. This will build your Wicket project.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!