iosched2017编译问题

问题描述

编译过程中出现编译不通过的情况,提示如下示例的错误信息

server/build/generated-source/endpoints/java/com/google/samples/apps/iosched/rpc/userdata/Userdata.java:1615:
error: method does not override or implement a method from a supertype
    @Override
    ^

问题的解决方案

文件目录iosched\server\的build.gradle文件的endpoints区域中增加说明:googleClientVersion = '1.23.0'
代码示例

endpoints {
        getClientLibsOnBuild = true
        getDiscoveryDocsOnBuild = true
        installClientLibsOnBuild = true
        googleClientVersion = '1.23.0'
        // Use this field to set the output directory of Endpoints client library jars. This is used
        // together with the appengineEndpointsExportClientLibs task.
        // clientLibJarOut = new File('PATH_TO_OUTPUT_DIRECTORY')
    }

问题原因推测(未证实)

推测是SDK版本的依赖问题,通过配置项解决编译过程的依赖项。
目前还未证实,后续花时间再看。

你可能感兴趣的:(iosched2017编译问题)