URL employeeURL = new URL(getAbsoluteUri("/resources/employees"));
employees = zero.json.Json.decode(employeeURL);
但当我把它改成
URL temasUrl = new URL(getAbsolureUri("/resources/teams"));
URL teams = zero.json.Json.decode(teamsURL);
尽管可以通过浏览器访问资源,但我还是收到了一个错误
这就是错误
groovy.lang.MissingMethodException:No signature of method: charts.getAbsolureUri() is applicable for argument types: (java.lang.String) values: [/resources/teams]