web3j-cli icon indicating copy to clipboard operation
web3j-cli copied to clipboard

Project generation Failed - Windows

Open yasseralaa opened this issue 4 years ago • 1 comments

Microsoft Windows [Version 10.0.18363.1556] (c) 2019 Microsoft Corporation. All rights reserved.

F:\work\Web3Labs\releases\testing-1474-issue>web3j new _ _____ _ | | |____ () __ _| | / / \ \ /\ / / _ \ ' \ \ \ | \ V V / __/ |) |./ / | _/_/ _|./ _/| | _/ | |_/ by Web3Labs [ / ] Creating and building project ... Subsequent builds will be faster Project generation Failed. Check log file for more information.

F:\work\Web3Labs\releases\testing-1474-issue>web3j -v _ _____ _ | | |____ () __ _| | / / \ \ /\ / / _ \ ' \ \ \ | \ V V / __/ |) |./ / | _/_/ _|./ _/| | _/ | |_/ by Web3Labs Version: 1.4.1 Build timestamp: 2021-02-16 20:28:46.190 UTC

Logs:- java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7 at org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43) at org.codehaus.groovy.reflection.GroovyClassValueFactory.(GroovyClassValueFactory.java:35) at org.codehaus.groovy.reflection.ClassInfo.(ClassInfo.java:109) at org.codehaus.groovy.reflection.ReflectionCache.getCachedClass(ReflectionCache.java:95) at org.codehaus.groovy.reflection.ReflectionCache.(ReflectionCache.java:39) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerMethods(MetaClassRegistryImpl.java:209) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.(MetaClassRegistryImpl.java:107) ...............

yasseralaa avatar Aug 12 '21 15:08 yasseralaa

me to.
brew install gradle seems to push this issue forward, but now i get:

FAILURE: Build failed with an exception.

* What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 703ms
logs (END)

tompetrillo avatar Sep 07 '21 07:09 tompetrillo