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

NoClassDefFoundError: org/bouncycastle/asn1/DERBoolean when using jbundler with trinidad #57

Open
griff opened this issue Feb 4, 2015 · 2 comments

Comments

@griff
Copy link

griff commented Feb 4, 2015

I am getting some kind of bad interaction between jruby, trinidad and jbundler which means whenever I try to start trinidad I get a NoClassDefFoundError: org/bouncycastle/asn1/DERBoolean

After having spent several hours trying to figure it out myself I am a bit at a loss as to what the problem is. But I have managed to reduce the problem so that I can reproduce it with this gist: https://gist.github.com/griff/935a5f1f903c0455d1ee

I can say that if there is no Jarfile or I don't require jbundler I don't get the error so I am pretty sure that it is a jbundler problem.

@mkristian
Copy link
Owner

yes there is some problem with the jars from default dependencies :( and
jbundler

you can add

gem 'jruby-openssl', '0.9.5'

to your Gemfile which works around this problem (or take version 0.9.6 the
latest jruby-openssl gem)

mkristian added a commit to mkristian/jar-dependencies that referenced this issue Feb 4, 2015
@mkristian
Copy link
Owner

jbundler-0.8.0 should fix your problem.

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