javaConductor / gserv

GServ: Framework for SPAs and REST based services.
MIT License
49 stars 9 forks source link

following the wiki, it doesn't work #33

Open xavs opened 6 years ago

xavs commented 6 years ago

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]
javaConductor commented 6 years ago

Which example did you try ?

xavs commented 6 years ago

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

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