Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project generation Failed - Windows #67

Open
yasseralaa opened this issue Aug 12, 2021 · 1 comment
Open

Project generation Failed - Windows #67

yasseralaa opened this issue Aug 12, 2021 · 1 comment

Comments

@yasseralaa
Copy link

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)
...............

@tompetrillo
Copy link

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)

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

No branches or pull requests

2 participants