Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example fails with ClassNotFoundException: org.apache.http.HttpResponse #7

Closed
diogocp opened this issue Jun 11, 2016 · 5 comments
Closed

Comments

@diogocp
Copy link

diogocp commented Jun 11, 2016

Using the example build.gradle in the README:

plugins {
    id "java"
    id "com.github.hierynomus.jython" version "0.3.0"
}

dependencies {
  jython ":boto3:1.1.3"
}
$ gradle build
:compileJava UP-TO-DATE
:jythonDownload
Downloading Jython library: boto3 with version 1.1.3
:jythonDownload FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':jythonDownload'.
> org/apache/http/HttpResponse

The exception is: java.lang.ClassNotFoundException: org.apache.http.HttpResponse.

System:

  • Arch Linux 4.6.2-1-ARCH amd64
  • Gradle 2.13
  • openjdk version "1.8.0_92"
@hierynomus
Copy link
Owner

You're right, thanks for reporting that. Seems like the newer versions of
Gradle are missing (parts of) HTTP components.

2016-06-12 0:51 GMT+02:00 Diogo Pereira notifications@github.com:

Using the example build.gradle in the README:

plugins {
id "java"
id "com.github.hierynomus.jython" version "0.3.0"
}
dependencies {
jython ":boto3:1.1.3"
}

$ gradle build
:compileJava UP-TO-DATE
:jythonDownload
Downloading Jython library: boto3 with version 1.1.3
:jythonDownload FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':jythonDownload'.

    org/apache/http/HttpResponse

The exception is: java.lang.ClassNotFoundException:
org.apache.http.HttpResponse.

System:

  • Arch Linux 4.6.2-1-ARCH amd64
  • Gradle 2.13
  • openjdk version "1.8.0_92"


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#7, or mute
the thread
https://github.com/notifications/unsubscribe/AAHLo66Tv3BiWXf9kKbliKmPII2zdi-zks5qKzvrgaJpZM4IzqJx
.

@diogocp
Copy link
Author

diogocp commented Jun 14, 2016

@hierynomus can you make a release with the fix? I tried older versions of Gradle but ran into other problems.

@diogocp
Copy link
Author

diogocp commented Sep 18, 2016

Please?

@hierynomus
Copy link
Owner

Sorry, this totally slipped my mind! Will release momentarily, thanks for reminding me.

@hierynomus
Copy link
Owner

v0.3.1 released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants