Your first Maven Build - geetools/geemvc GitHub Wiki

We have finally reached the stage where we can build our web-application and start the servlet-container. If you have correctly followed all the previous steps, you will be able to open up the wesbite in the browser of your choice.

Lets start by opening up a command-prompt and then entering the following commands:

  1. mvn --version (If the command cannot be found re-visit Maven in 5 Minutes)
  2. cd path/to/project-directory
  3. mvn jetty:run

Whether you are using windows or linux, the output should look something like this:

mvn jetty:run

The final line of the output should say [INFO] Started Jetty Server.

Now go to your browser and enter the URL: http://localhost:8080/hello/world.

You should now see our hello-world website in action!

Hello World!


Well done! You have completed the Getting Started guide. If you want to learn more about mapping requests to controllers, read the next section.