Skip to content
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.

Build Failure #5

Open
nikhil550 opened this issue Jul 25, 2018 · 0 comments
Open

Build Failure #5

nikhil550 opened this issue Jul 25, 2018 · 0 comments
Assignees

Comments

@nikhil550
Copy link

Using this sample against a starter plan network.

After MVN Install, getting a build failure with these logs.

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.466 s
[INFO] Finished at: 2018-07-25T17:28:36-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project bluemix-fabric-sdk: Compilation failure: Compilation failure: 
[ERROR] /Users/nikhilgupta/fabric/JSDKIntegrationSample/src/main/java/org/cr22rc/BMXHyperledgerFabricJSDKIntegrationSample.java:[229,20] cannot find symbol
[ERROR]   symbol:   method setTransactionWaitTime(int)
[ERROR]   location: variable channel of type org.hyperledger.fabric.sdk.Channel
[ERROR] /Users/nikhilgupta/fabric/JSDKIntegrationSample/src/main/java/org/cr22rc/BMXHyperledgerFabricJSDKIntegrationSample.java:[230,20] cannot find symbol
[ERROR]   symbol:   method setDeployWaitTime(int)
[ERROR]   location: variable channel of type org.hyperledger.fabric.sdk.Channel
[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

The problems came from the following lines in BMXHyperledgerFabricJSDKIntegrationSample.java

  channel.setTransactionWaitTime(TRANSACTION_WAIT_TIME);
  channel.setDeployWaitTime(DEPLOY_WAIT_TIME);

When I comment those lines out, the build is successful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants