Steph
Steph

Reputation: 53

What is the best way to embed jetty in a war file?

I'm trying to embed jetty in a war file so I can launch it frcom the command line, but I'm struggling. I'm using maven, has anyone done this before?

Thanks! Steph

Upvotes: 3

Views: 150

Answers (1)

ben75
ben75

Reputation: 28706

I don't know if you already did this, but as far as I remember, you need to copy all dependencies that are provided in your war file as direct dependencies of the jetty plugin.

Providing more details about your current architecture and issues may help...

Upvotes: 1

Related Questions