Online font converter

FREEMIUM
By warting | Updated 22 giorni fa | Tools
Popularity

0.2 / 10

Latency

772ms

Service Level

100%

Health Check

N/A

Back to All Discussions

I am unable to give get 200 Response : getting Exception in thread "main" java.lang.NoSuchMethodError: org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor: method <init>()V not found

Rapid account: Anjaiahspr
anjaiahspr
9 anni fa

HI All,

I am using below one

	HttpResponse<InputStream> response = Unirest.post("https://ofc.p.mashape.com/directConvert/")
			.header("X-Mashape-Key", "Y3MxEWkOX3mshcvQ85SZCoIqucVMp1qRpjbjsn0TYnnY8c1fIR")
			.field("file", new File("<file goes here>"))
			.field("format", "woff")
			.field("output", "tar.gz")
			.asBinary();
	System.out.println(response.getStatus());

When i am the above one i am facing below issue:
Exception in thread โ€œmainโ€ java.lang.NoSuchMethodError: org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor: method <init>()V not found
at com.mashape.unirest.http.options.Options.refresh(Options.java:68)
at com.mashape.unirest.http.options.Options.<clinit>(Options.java:36)
at com.mashape.unirest.http.HttpClientHelper.prepareRequest(HttpClientHelper.java:153)
at com.mashape.unirest.http.HttpClientHelper.request(HttpClientHelper.java:133)
at com.mashape.unirest.request.BaseRequest.asBinary(BaseRequest.java:80)
at com.iwinner.mashap.consumer.api.MashMain.main(MashMain.java:22)
THanks
AnjaiahSpr

Join in the discussion - add comment below:

Login / Signup to post new comments