-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
jruby class loading bug (unable to load hadoop configuration class) #484
Comments
diff --git a/test.rb b/test.rb the code below worksjava_import 'org.apache.hadoop.conf.Configuration' p Configuration.new+p Configuration.new.class_loader this does not work.java_import 'ConfigurationApp' applying this patch reveals that ConfigurationApp.class is loaded by a I do no know why the ConfigurationApp is loaded in I tried to put the ConfigurationApp into a jar and also into a package but maybe that sounds familiar to someone !
On Mon, Jan 7, 2013 at 6:06 PM, maddosz notifications@github.com wrote:
|
if you remove the ConfigurationApp.class file from the working directory the solution with the jar file works fine (at least for me) |
My environment
The Bug and how to reproduce it
I encounter a "java.lang.ClassNotFoundException" when calling a simple java class.
Checkout my repository https://github.com/maddosz/jruby_class_loading_bug to find everything you need. Executing the test.rb yields the following error
Any suggestions?
The text was updated successfully, but these errors were encountered: