gserv
gserv copied to clipboard
following the wiki, it doesn't work
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]
Which example did you try ?
https://github.com/javaConductor/gserv/wiki/gServ-Home
The part get '/faq', file('App.faq.html')
. I triedfile( "text/html", "myfile")
as well