我安装了零项目并与员工一起从存储库创建了项目。它适用于这部分:
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]