I want to use the jetty httpclient(in netbeans) but have the least number of jar dependencies. I know I can import all jars from the jetty lib folder to my project but I would like to know what the minimum number of dependencies are and how you did find this out? Our there tools to find jar dependencies?
Asked
Active
Viewed 1,852 times
5
-
1Do it the hard way. Remove all JAR's, run the application, analyze the classname in `NoClassDefFoundError`, locate the JAR containing the class, add the desired JAR back and redo until you don't get the error anymore :) The easy way would be using Maven2 or some kind of dependency management. – BalusC Mar 17 '10 at 15:12
1 Answers
2
Okay after a little bit more googling I found this link with the correct aggregrate jar to play with httpclient.

Alfred
- 60,935
- 33
- 147
- 186
-
-
lol post of 2010 so it is not really strange I guess. If you find correct link please add extra answer with correct link – Alfred May 17 '17 at 18:00
-
1Therefore the house rule: don't answer with links ;-) I never found the link, but this is what I use now: ` org.eclipse.jetty.client;version="9.2.12", org.eclipse.jetty.client.api;version="9.2.12", org.eclipse.jetty.client.util;version="9.2.12", org.eclipse.jetty.http;version="8.1.16", org.eclipse.jetty.util;version="9.2.12", org.eclipse.jetty.util.component;version="9.2.12", org.eclipse.jetty.util.ssl;version="9.2.12",` – Nebula May 22 '17 at 12:32