Edit: Full script is just two lines now. This used to work and stopped working after I once changed jdk.
+ not working to concatenate strings (full script)
output = "hello" + "," + "world"
println output
Output
groovy.lang.MissingMethodException: No signature of method:
Script1.hello() is applicable for argument types: (java.lang.String)
values: [,] Possible solutions: getAt(java.lang.String), sleep(long),
each(groovy.lang.Closure), split(groovy.lang.Closure) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:81)
Although the concat function works fine
output = ("hello".concat(",")).concat("world")
println output
outputdeclared? What type isu? What type doesu.getId()return? How isemaildeclared, and what does it contain? - Chris Long"${u.id},${email}"- cfrickNo signature of method: java.lang.String.,()The dot comma parens. Show your code, especially line 11 - ou_ryperd