build problem

57 views
Skip to first unread message

danny...@gmail.com

unread,
May 15, 2014, 5:33:27 PM5/15/14
to eureka_...@googlegroups.com
when building the eureka with the following instructions on mac, always got an error

./gradlew clean build

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':classpath'.
> Artifact 'com.google.guava:guava:11.0.2@jar' not found.

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

BUILD FAILED

Total time: 2.923 secs

Then I tried "gradle clean build" where this gradle is from a different location and it passed

which is gradle
/Users/zhuzhu/.gvm/gradle/current/bin/gradle

and I cannot find a testlibs under eureka_server

Is this alright?

danny...@gmail.com

unread,
May 15, 2014, 5:34:39 PM5/15/14
to eureka_...@googlegroups.com, danny...@gmail.com

BTW, my jdk is 1.6

Nitesh

unread,
May 21, 2014, 12:57:37 PM5/21/14
to eureka_...@googlegroups.com
This is strange, the provided gradle wrapper should work unless your have some global gradle settings in your environment that removes the default maven central repository. 
Since eureka is built regularly from open source inside netflix, I doubt it is a build issue with eureka.

Jdk 1.6 should work.

Danny Liu

unread,
May 28, 2014, 5:52:06 PM5/28/14
to eureka_...@googlegroups.com
Let me revisit my build path and retry.
Reply all
Reply to author
Forward
0 new messages