Run with servlet 3.0 $./gradlew tomcatRunWar And open url http://localhost:8080/hello Run with Spark Java