Closed mwhite14 closed 9 years ago
Our grade plugins require JDK7 to run. I believe Simian Army will still target JDK6 bytecode when producing a jar.
On Thu, Apr 16, 2015 at 1:20 PM, Michael notifications@github.com wrote:
20:17:40.507 [DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 3.716 secs 20:17:40.512 [ERROR] [org.gradle.BuildExceptionReporter] 20:17:40.513 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception. [ERROR] [org.gradle.BuildExceptionReporter] [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: [ERROR] [org.gradle.BuildExceptionReporter] nebula/plugin/netflixossproject/NetflixOssProjectPlugin : Unsupported major.minor version 51.0 [ERROR] [org.gradle.BuildExceptionReporter] [ERROR] [org.gradle.BuildExceptionReporter] * Try: [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. [LIFECYCLE] [org.gradle.BuildResultLogger] [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED [LIFECYCLE] [org.gradle.BuildResultLogger] [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 6.445 secs
java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
— Reply to this email directly or view it on GitHub https://github.com/Netflix/SimianArmy/issues/184.
You may want to update the Wiki, it says to use JDK6 to build.
https://github.com/Netflix/SimianArmy/wiki/Quick-Start-Guide#build-the-monkeys-with-gradle
I had the same issue with java version "1.7.0_71" Java(TM) SE Runtime Environment (build 1.7.0_71-b14) Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
Logs:- Download http://plugins.gradle.org/m2/com/googlecode/javaewah/JavaEWAH/0.7.9/JavaEWAH-0.7.9.pom Download http://plugins.gradle.org/m2/org/apache/httpcomponents/httpcore/4.2.4/httpcore-4.2.4.pom Download http://plugins.gradle.org/m2/org/apache/httpcomponents/httpcomponents-core/4.2.4/httpcomponents-core-4.2.4.pom
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'simianarmy'.
Could not resolve all dependencies for configuration ':classpath'. Could not resolve com.netflix.nebula:nebula-project-plugin:2.2.0. Required by: :simianarmy:unspecified > com.netflix.nebula:gradle-netflixoss-project-plugin:2.2.9 Could not GET 'http://plugins.gradle.org/m2/com/netflix/nebula/nebula-project-plugin/2.2.0/nebula-project-plugin-2.2.0.pom'.
The target server failed to respond
BUILD FAILED
The recent jenkins build failed as well. https://netflixoss.ci.cloudbees.com/job/SimianArmy-master/
I had no further issues after moving to java 1.7.0_80
I bumped the cloudbees jenkins build to 1.7. It is working now.
Rob updated the wiki.
On Fri, Apr 17, 2015 at 8:50 AM, Michael notifications@github.com wrote:
Closed #184 https://github.com/Netflix/SimianArmy/issues/184.
— Reply to this email directly or view it on GitHub https://github.com/Netflix/SimianArmy/issues/184#event-284024248.
Even the Gradle build fails for JDK8 however its working fine with JDK7
I noticed the same thing.
[DEBUG] [org.gradle.configuration.project.BuildScriptProcessor] Timing: Running the build script took 3.716 secs [ERROR] [org.gradle.BuildExceptionReporter] [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception. [ERROR] [org.gradle.BuildExceptionReporter] [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: [ERROR] [org.gradle.BuildExceptionReporter] nebula/plugin/netflixossproject/NetflixOssProjectPlugin : Unsupported major.minor version 51.0 [ERROR] [org.gradle.BuildExceptionReporter] [ERROR] [org.gradle.BuildExceptionReporter] * Try: [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. [LIFECYCLE] [org.gradle.BuildResultLogger] [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED [LIFECYCLE] [org.gradle.BuildResultLogger] [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 6.445 secs
java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)