Can not configure / connect server components.

Connected components:

httpcomponents-client-4.5.2-bin.zip apache-httpcomponents-httpcore.jar

tried different versions, binary files, uncompiled java classes

The result is one - a bunch of unrecognized classes, constants, methods.

enter image description here

Error:(3, 23) java: package org.apache.http does not exist 

Day spent on this, of course googled in English. I did not find any solutions.

found http://hc.apache.org/downloads.cgi

I downloaded everything I could, joined the project, but the result is the same.

  • 2
    Try Maven. It is convenient to work with dependencies. ( mvnrepository.com/artifact/org.apache.httpcomponents ) - DimXenon
  • one
    Here is a useful topic: stackoverflow.com/questions/6491457/… - DimXenon
  • one
    Are you just throwing a jar into the project? So do not need to. In IDEA, libraries are very easy to connect, first of all. Secondly, sooner or later you will come across Maven, so I advise you to read a little about him. You don't need any cool level yet, just about how it works, how dependencies (libraries) and life cycle are included. IDEA has a built-in plugin by default, and you can immediately generate a Maven-managed project. - Janislav Kornev
  • No, of course, in intelijidea I connect as a library. Can someone suggest the algorithm how to properly connect with maven, since everyone advises? - Mr.Ki.D.

0