HttpClient NoClassDefFoundError

前端 未结 4 2011
没有蜡笔的小新
没有蜡笔的小新 2020-12-17 16:12

I am trying to run a sample application from HttpClient 4.0.1. It is the file ClientMultiThreadedExecution.java from the examples section. I put in these files in the clas

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-17 16:31

    That class is in httpclient-4.0.1.jar (I've just downloaded it to be sure) so I suspect you haven't put it in the classpath properly.

    How are you compiling and running your code?

提交回复
热议问题