Fabric-sdk-java build and compile (this article is based on version 1.0.1)
1. Install jdk1.8 and above
2. Download fabric-sdk-java github address: https://github.com/hyperledger/fabric-sdk-java
3. Import into the eclipse tool
4. Switch to the command window mode in the project directory and execute: mvn compile -DskipTests,
After the compilation is successful, refresh the project.
The proto files in the project are generated in the target/generated-sources/protobuf/java directory and automatically added to the build path
If it appears:
git-commit-id-plugin Error about this component Delete the component from the pom.xml file, and then execute the compilation.