carnellj / spmia-chapter7

Source code for chapter 7 of Spring Microservices in Action
46 stars 133 forks source link

The import org.apache.http.HttpHost cannot be resolved #2

Closed jgoyette-jg closed 7 years ago

jgoyette-jg commented 7 years ago

Hi,

I pulled the project down and imported it into STS. I noticed there are some problems in STS with resolving classes related to httpclient dependency. Are you getting these as well?

Update : Originally this seemed to be an STS issue, as I could build it from command line with Maven. However, I still can not run it outside with Maven and the boot plugin.

Update 2 : I was able to get it to compile by adding the httpcore:4.4.1 dependency to the pom.xml.

Regards,

Jeff