I have written a simple httprequest/response code and I am getting this below error. I have referenced httpclient, httpcore, common-codecs and common-logging in my classpath
The error message is kind of misleading. You've provided a value that does not represent a complete URI
request = new HttpGet("trib.me/1lBFzSi");
It's missing a protocol.
Simply provide a complete URI
request = new HttpGet("http://trib.me/1lBFzSi");