Skip to content

cowley05/DropwizardExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DropwizardExample

An example dropwizard application built with gradle

#Running Open your terminal

If you dont have gradle installed and your on a mac first run brew install gradle

To run the application just use gradle run

Your server will start and be accessible via http://localhost:8080/hello-world

To view your name on the screen got to http://localhost:8080/hello-world?name=YOUR_NAME

To generate IntelliJ Idea files for this application use gradle cleanIdea idea

#Gotchas with gradle When trying to use gradle run you may get some weird errors such as:

'cannot locate main class x.y.Z.class'

this will usually be down to folder structure which has to be:

src -> main -> java -> x.y -> Z.java

#Versions java version at time of building: 1.8

gradle version: 2.5

About

An example dropwizard application built with gradle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages