In Eclipse, Select File -> New -> Other -> Maven Project
Leave everything as default and click next as shown here.
From the Select an Archetype screen, select ZK Maven Archetype from the catalog dropdown list.
And Select zk-archetype-webapp from the list. (At the time of writing this is at version 7.0.3.1).
Next, fill in details for group id, artifact id, version number and package name.
Click Finish and the Eclipse status bar should say ' Creating zk-archetype-webapp ' and ' Updating Maven Dependencies '. If this is the user's first time dealing with ZK libraries, Maven will download the necessary dependencies to compile and run this example, and would be stored in .m2/repository in the user's home directory.
Now goto Windows -> Show View and Select Navigator. You can see the folder structure of our HelloZK Project as follows
Follow the steps to run the application
1. Select the "HelloZK" project in the Navigator
2. Right Click and Select "Run as " and Select the first option "Run On Server"
Click Finish button
The output of the HelloZK Application will be shown in the internal Browser of the Eclipse as shown here