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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.