Skip to content

Instantly share code, notes, and snippets.

@griff
Last active August 29, 2015 14:14
Show Gist options
  • Save griff/935a5f1f903c0455d1ee to your computer and use it in GitHub Desktop.
Save griff/935a5f1f903c0455d1ee to your computer and use it in GitHub Desktop.
jbundler java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DERBoolean test
require 'bundler/setup'
# If I include this it fails if not I don't have access to class in Jarfile
require 'jbundler'
Java::com::fasterxml::jackson::core::type::TypeReference.inspect
# Loads openssl
require 'httparty'
class MyApp
def self.call(env)
[200, {'Content-Type' => 'text/plain'}, 'Hello world']
end
end
run MyApp
source 'https://rubygems.org/'
ruby '1.9.3', engine: 'jruby', engine_version: '1.7.19'
gem 'trinidad'
gem 'httparty'
gem 'sinatra'
gem 'jbundler'
GEM
remote: https://rubygems.org/
specs:
axiom-types (0.1.1)
descendants_tracker (~> 0.0.4)
ice_nine (~> 0.11.0)
thread_safe (~> 0.3, >= 0.3.1)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
equalizer (0.0.9)
httparty (0.13.3)
json (~> 1.8)
multi_xml (>= 0.5.2)
ice_nine (0.11.1)
jar-dependencies (0.1.7)
jbundler (0.7.2)
bundler (~> 1.5)
jar-dependencies (~> 0.1.7)
maven-tools (~> 1.0.6)
ruby-maven (>= 3.1.1.0.6, < 3.1.2)
jruby-rack (1.1.18)
json (1.8.2-java)
maven-tools (1.0.7)
virtus (~> 1.0)
multi_xml (0.5.5)
rack (1.6.0)
rack-protection (1.5.3)
rack
ruby-maven (3.1.1.0.8)
maven-tools (~> 1.0.1)
ruby-maven-libs (= 3.1.1)
ruby-maven-libs (3.1.1)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
thread_safe (0.3.4-java)
tilt (1.4.1)
trinidad (1.4.6)
jruby-rack (~> 1.1.13)
trinidad_jars (>= 1.3.0, < 1.5.0)
trinidad_jars (1.4.0)
virtus (1.0.4)
axiom-types (~> 0.1)
coercible (~> 1.0)
descendants_tracker (~> 0.0, >= 0.0.3)
equalizer (~> 0.0, >= 0.0.9)
PLATFORMS
java
DEPENDENCIES
httparty
jbundler
sinatra
trinidad
jar 'com.fasterxml.jackson.core:jackson-core', '2.3.0'
---
:runtime:
- com.fasterxml.jackson.core:jackson-core:jar:2.3.0
bundle
jbundle
trinidad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment