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

Build Failure #5

@nikhil550

Description

@nikhil550

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.

Metadata

Metadata

Assignees

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