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)

Solutions on the web781

  • via GitHub by jeppenejsum
    , 1 year ago
    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
  • via GitHub by jeppenejsum
    , 1 year ago
    No signature of method: java.lang.String.exists() is applicable for argument types: () values: [] 16:14:41.737 [ERROR] [org.gradle.BuildExceptionReporter] Possible solutions: wait(), next(), toList(), execute(), expand(), equals(java.lang.Object) 16
  • No signature of method: testCopy.$() is applicable for argument types: (testCopy$_run_closure1 _closure2_closure3) values: [testCopy$_run_closure1_closure2_closure3@1b06cab] Possible solutions: is(java.lang.Object), run(), run(), any(), any(groovy.lang.Closure), use([Ljava.lang.Object;)
  • Stack trace

    • 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(RunJRubyPlugin.groovy) at com.smokejumperit.gradle.RunJRubyPlugin$_apply_closure9.doCall(RunJRubyPlugin.groovy:110)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.