hi team, While building airbyte with SUB_BUILD=PLA...
# ask-community-for-troubleshooting
s
hi team, While building airbyte with SUB_BUILD=PLATFORM ./gradlew build on master branch, getting below error. Can you please check
Copy code
> Task :airbyte-api:compileJava
/airbyte/airbyte-api/build/generated/api/client/src/main/java/io/airbyte/api/client/generated/InternalApi.java:66: error: cannot find symbol
    memberVarAsyncResponseInterceptor = apiClient.getAsyncResponseInterceptor();
                                                 ^
  symbol:   method getAsyncResponseInterceptor()
  location: variable apiClient of type ApiClient
/airbyte/airbyte-api/build/generated/api/client/src/main/java/io/airbyte/api/client/generated/AttemptApi.java:62: error: cannot find symbol
    memberVarAsyncResponseInterceptor = apiClient.getAsyncResponseInterceptor();
                                                 ^
  symbol:   method getAsyncResponseInterceptor()
  location: variable apiClient of type ApiClient
Note: /airbyte/airbyte-api/build/generated/api/client/src/main/java/io/airbyte/api/client/invoker/generated/JSON.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
u
Hi Satish, I see the error is happening during
compileJava
. Could you double check that you meet the prerequisites for building the Airbyte platform?
s
Hi @Nataly Merezhuk (Airbyte) previously I used to work. I pulled latest code from master branch and tried to build and then it started this error.
u
Did you change anything in your Java configuration on your laptop? As a nuclear option I'd advise removing your local Airbyte instance completely, including all Docker images, and getting everything from master again.