dreamhead / moco

Easy Setup Stub Server
MIT License
4.36k stars 1.08k forks source link

Try to build gradle error #260

Closed davidcalleja closed 1 year ago

davidcalleja commented 5 years ago

When I try to build your project to get a SNAPSHOT I get the next error.

[...]
Warning: org.objectweb.asm.signature.SignatureWriter: can't find referenced class java.lang.String
Warning: org.objectweb.asm.signature.SignatureWriter: can't find referenced class java.lang.String
Warning: org.objectweb.asm.signature.SignatureWriter: can't find referenced class java.lang.String
Warning: org.objectweb.asm.signature.SignatureWriter: can't find referenced class java.lang.String
Warning: there were 76611 unresolved references to classes or interfaces.
         You may need to add missing library jars or update their versions.
         If your code works fine without the missing classes, you can suppress
         the warnings with '-dontwarn' options.
         (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
Warning: there were 131 unresolved references to program class members.
         Your input classes appear to be inconsistent.
         You may need to recompile the code.
         (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember)

> Task :moco-runner:proguard FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':moco-runner:proguard'.
> java.io.IOException: Please correct the above warnings first.

* 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
dreamhead commented 5 years ago

Which OS are you using? It seems it fails to find JDK classes.