Skip to content

Instantly share code, notes, and snippets.

@sebastienblanc
Last active December 19, 2015 15:09
Show Gist options
  • Save sebastienblanc/5974087 to your computer and use it in GitHub Desktop.
Save sebastienblanc/5974087 to your computer and use it in GitHub Desktop.
Hi All,
I've got an application https://github.com/aerogear/aerogear-push-quickstart-backend/tree/AGPUSH-154 that is using a dependency that can find here https://github.com/aerogear/aerogear-unified-push-java-client . The latest relies on Resteasy Client bits.
It has been working well, as long I did not use the httpClient bits. But we are adding some basic security stuff and we are using the ApacheHttpClient4Executor , see https://github.com/aerogear/aerogear-unified-push-java-client/blob/master/src/main/java/org/jboss/aerogear/unifiedpush/resteasy/RestEasyClient.java#L83
But now I'm getting a linkage error exception, see stacktrace here :
https://gist.github.com/sebastienblanc/5973915
Putting the scope to provided does not help as I ended with class not found exception on httpclient bits (The Credentail class)
By googling I found this http://stackoverflow.com/a/10800898 but this is not really acceptable as solution.
Do you have any other tips ?
Thanks,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment