Skip to content

Java SDK: BUILD FAILURE #90

@semigreeny

Description

@semigreeny
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 179 source files to /private/var/tmp/rest-api-sdk/Java/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /private/var/tmp/rest-api-sdk/Java/src/main/java/localhost/http/client/HttpClientConfiguration.java:[45,29] cannot find symbol
  symbol:   method isSkipSslCertVerification()
  location: variable configuration of type io.apimatic.coreinterfaces.http.ClientConfiguration
[ERROR] /private/var/tmp/rest-api-sdk/Java/src/main/java/localhost/http/client/HttpClientConfiguration.java:[207,33] cannot find symbol
  symbol:   method isSkipSslCertVerification(boolean)
  location: variable configurationBuilder of type io.apimatic.core.configurations.http.client.CoreHttpClientConfiguration.Builder
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.830 s
[INFO] Finished at: 2023-08-15T09:48:58+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project rest-api-sdk-lib: Compilation failure: Compilation failure: 
[ERROR] /private/var/tmp/rest-api-sdk/Java/src/main/java/localhost/http/client/HttpClientConfiguration.java:[45,29] cannot find symbol
[ERROR]   symbol:   method isSkipSslCertVerification()
[ERROR]   location: variable configuration of type io.apimatic.coreinterfaces.http.ClientConfiguration
[ERROR] /private/var/tmp/rest-api-sdk/Java/src/main/java/localhost/http/client/HttpClientConfiguration.java:[207,33] cannot find symbol
[ERROR]   symbol:   method isSkipSslCertVerification(boolean)
[ERROR]   location: variable configurationBuilder of type io.apimatic.core.configurations.http.client.CoreHttpClientConfiguration.Builder
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

I simply ran mvn clean package and I'm using JDK11.

Let me know if you need more information to troubleshoot the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions