hyperledger-web3j / web3j-maven-plugin

web3j Maven plugin
Apache License 2.0
117 stars 83 forks source link

Execution default-cli of goal org.web3j:web3j-maven-plugin:4.10.0:generate-sources failed: ClassLoader.getSystemResource("releases.json") must not be null #111

Open LeonSC opened 1 year ago

LeonSC commented 1 year ago

[INFO] Scanning for projects... [INFO] [INFO] -------------------------< com.web3:platform >-------------------------- [INFO] Building platform 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- web3j:4.10.0:generate-sources (default-cli) @ platform --- [INFO] No Solidity directory specified, using default directory [src/main/resources] [INFO] No Solidity contracts specified, using the default [*/.sol] [INFO] Solidity: adding to process 'Storage.sol' [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.204 s [INFO] Finished at: 2023-07-23T22:02:30+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.web3j:web3j-maven-plugin:4.10.0:generate-sources (default-cli) on project platform: Execution default-cli of goal org.web3j:web3j-maven-plugin:4.10.0:generate-sources failed: ClassLoader.getSystemResource("releases.json") must not be null -> [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/PluginExecutionException

what is "ClassLoader.getSystemResource("releases.json")"? tks