groovy.lang.MissingMethodException: No signature of method: static org.jruby.Main.new() is applicable for argument types: (org.jruby.RubyInstanceConfig) values: [org.jruby.RubyInstanceConfig@2a163765] 21:32:36.470 [ERROR] [org.gradle.BuildExceptionReporter] Possible solutions: run(), any(), run([Ljava.lang.String;), is(java.lang.Object), use([Ljava.lang.Object;), any(groovy.lang.Closure) 21:32:36.470 [ERROR] [org.gradle.BuildExceptionReporter] at com.smokejumperit.gradle.RunJRubyPlugin$_apply_closure8.doCall(RunJRubyPlugin.groovy:101)

GitHub | jeppenejsum | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 14#900163

    GitHub | 6 years ago | jeppenejsum
    groovy.lang.MissingMethodException: No signature of method: static org.jruby.Main.new() is applicable for argument types: (org.jruby.RubyInstanceConfig) values: [org.jruby.RubyInstanceConfig@2a163765] 21:32:36.470 [ERROR] [org.gradle.BuildExceptionReporter] Possible solutions: run(), any(), run([Ljava.lang.String;), is(java.lang.Object), use([Ljava.lang.Object;), any(groovy.lang.Closure) 21:32:36.470 [ERROR] [org.gradle.BuildExceptionReporter] at com.smokejumperit.gradle.RunJRubyPlugin$_apply_closure8.doCall(RunJRubyPlugin.groovy:101)

    Root Cause Analysis

    1. groovy.lang.MissingMethodException

      No signature of method: static org.jruby.Main.new() is applicable for argument types: (org.jruby.RubyInstanceConfig) values: [org.jruby.RubyInstanceConfig@2a163765] 21:32:36.470 [ERROR] [org.gradle.BuildExceptionReporter] Possible solutions: run(), any(), run([Ljava.lang.String;), is(java.lang.Object), use([Ljava.lang.Object;), any(groovy.lang.Closure) 21:32:36.470 [ERROR] [org.gradle.BuildExceptionReporter] at com.smokejumperit.gradle.RunJRubyPlugin$_apply_closure8.doCall(RunJRubyPlugin.groovy:101)

      at com.smokejumperit.gradle.RunJRubyPlugin$_apply_closure8.doCall()
    2. com.smokejumperit.gradle
      RunJRubyPlugin$_apply_closure9.doCall
      1. com.smokejumperit.gradle.RunJRubyPlugin$_apply_closure8.doCall(RunJRubyPlugin.groovy)
      2. com.smokejumperit.gradle.RunJRubyPlugin$_apply_closure9.doCall(RunJRubyPlugin.groovy:110)
      2 frames