Skip to content

Instantly share code, notes, and snippets.

@aeden
Created August 12, 2009 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aeden/166777 to your computer and use it in GitHub Desktop.
Save aeden/166777 to your computer and use it in GitHub Desktop.
require 'java'
require File.dirname(__FILE__) + '/vendor/jaxb-20090708.jar'
include_class javax.xml.bind.UnmarshalException
/usr/local/lib/jruby-1.3.0/lib/ruby/site_ruby/1.8/builtin/javasupport.rb:49:in `get_proxy_or_package_under_package': cannot load Java class javax.xml.bind.UnmarshalException (NameError)
from /usr/local/lib/jruby-1.3.0/lib/ruby/site_ruby/1.8/builtin/javasupport/java.rb:51:in `method_missing'
from import-test.rb:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment