gserv icon indicating copy to clipboard operation
gserv copied to clipboard

following the wiki, it doesn't work

Open xavs opened this issue 6 years ago • 2 comments

I just tried the example, and it doesn't work

Caught: groovy.lang.MissingMethodException: No signature of method: io.github.javaconductor.gserv.delegates.ResourceDelegate.file() is applicable for argument types: (java.lang.String, java.lang.String) values: [text/html, a.html]
Possible solutions: find(), value(java.lang.String), value(java.lang.String, java.lang.Object), find(groovy.lang.Closure), wait(), values()
groovy.lang.MissingMethodException: No signature of method: io.github.javaconductor.gserv.delegates.ResourceDelegate.file() is applicable for argument types: (java.lang.String, java.lang.String) values: [text/html, a.html]

xavs avatar Mar 29 '18 17:03 xavs

Which example did you try ?

javaConductor avatar Mar 29 '18 20:03 javaConductor

https://github.com/javaConductor/gserv/wiki/gServ-Home

The part get '/faq', file('App.faq.html'). I triedfile( "text/html", "myfile") as well

xavs avatar Mar 30 '18 07:03 xavs