title: Groovy/Grails No signature of method
body: <p>Executing (in console) from a grails project:</p>
  
  <p><code>import vine.*
  import grails.converters.JSON
  s = Stem.makeStem([name: "nameValue", description: "Description value"], "24601")
  println s as JSON</code></p>
  
  <p>Generates:</p>
  
  <blockquote>
    <p>groovy.lang.MissingMethodException: No signature of method: vine.Stem.makeStem() is applicable for argument types: (java.util.LinkedHashMap, java.lang.String) values: [[name:nameValue, description:Description value], BR-459]
    Possible solutions: makeStem(java.util.LinkedHashMap, java.lang.String)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.springsource.loaded.ri.ReflectiveInterceptor.jlrConstructorNewInstance(ReflectiveInterceptor.java:1075)
        at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
        at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)</p>
  </blockquote>
  
  <p>The method definition:</p>
  
  <pre><code>def makeStem( LinkedHashMap h, String owner)
  {
      def s
      if ( h.name &amp;&amp; h.description ) {
         s  = new Stem(h)
         def ra = new RoleAssignment(peoples: owner)
         s.addRole(ra)
      }
      return s
  }
  </code></pre>
  
  <p>I originally had the def with Map h, but that didn't work either.</p>
  
  <p>Any ideas?</p>