{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-projects/spring-security/issues/4154","repository_url":"https://api.github.com/repos/spring-projects/spring-security","labels_url":"https://api.github.com/repos/spring-projects/spring-security/issues/4154/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-security/issues/4154/comments","events_url":"https://api.github.com/repos/spring-projects/spring-security/issues/4154/events","html_url":"https://github.com/spring-projects/spring-security/issues/4154","id":194707216,"number":4154,"title":"./gradlew install fails with UnsupportedClassVersionError","user":{"login":"pdkovacs","id":4629413,"avatar_url":"https://avatars.githubusercontent.com/u/4629413?v=3","gravatar_id":"","url":"https://api.github.com/users/pdkovacs","html_url":"https://github.com/pdkovacs","followers_url":"https://api.github.com/users/pdkovacs/followers","following_url":"https://api.github.com/users/pdkovacs/following{/other_user}","gists_url":"https://api.github.com/users/pdkovacs/gists{/gist_id}","starred_url":"https://api.github.com/users/pdkovacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdkovacs/subscriptions","organizations_url":"https://api.github.com/users/pdkovacs/orgs","repos_url":"https://api.github.com/users/pdkovacs/repos","events_url":"https://api.github.com/users/pdkovacs/events{/privacy}","received_events_url":"https://api.github.com/users/pdkovacs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-09T21:59:50Z","updated_at":"2016-12-09T21:59:50Z","closed_at":null,"body":"### Summary\r\n\r\n<!-- \r\nPlease provide a high level summary of the issue you are having\r\n-->\r\n\r\n`./gradlew install` fails with `java.lang.UnsupportedClassVersionError`\r\n\r\n### Actual Behavior\r\n\r\n<!-- \r\nPlease describe step by step the behavior you are observing\r\n-->\r\n\r\n1. Check (as per https://github.com/spring-projects/spring-security/blob/master/README.adoc#prerequisites) that the JAVA_HOME environment variable points to Oracle JDK 7:\r\n```\r\n$ $JAVA_HOME/bin/java -version\r\nPicked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true\r\njava version \"1.7.0_80\"\r\nJava(TM) SE Runtime Environment (build 1.7.0_80-b15)\r\nJava HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)\r\n```\r\n\r\n2. Check out sources (as per https://github.com/spring-projects/spring-security/blob/master/README.adoc#check-out-sources):\r\n```\r\n$ git clone git@github.com:spring-projects/spring-security.git\r\nCloning into 'spring-security'...\r\nremote: Counting objects: 127438, done.\r\nremote: Compressing objects: 100% (16/16), done.\r\nremote: Total 127438 (delta 1), reused 0 (delta 0), pack-reused 127419\r\nReceiving objects: 100% (127438/127438), 24.99 MiB | 939.00 KiB/s, done.\r\nResolving deltas: 100% (61511/61511), done.\r\n```\r\n\r\n3. Change the current working directory to the root of the source tree (as per https://github.com/spring-projects/spring-security/blob/master/README.adoc#building-from-source):\r\n```\r\n$ cd spring-security/\r\n```\r\n\r\n4. Execute `./gradlew install` (as per https://github.com/spring-projects/spring-security/blob/master/README.adoc#install-all-spring--jars-into-your-local-maven-cache):\r\n```\r\n$ ./gradlew install\r\nPicked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true\r\n:buildSrc:clean UP-TO-DATE\r\n:buildSrc:compileJava UP-TO-DATE\r\n:buildSrc:compileGroovy\r\nPicked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true\r\n:buildSrc:processResources\r\n:buildSrc:classes\r\n:buildSrc:jar\r\n:buildSrc:assemble\r\n:buildSrc:compileTestJava UP-TO-DATE\r\n:buildSrc:compileTestGroovy UP-TO-DATE\r\n:buildSrc:processTestResources UP-TO-DATE\r\n:buildSrc:testClasses UP-TO-DATE\r\n:buildSrc:test UP-TO-DATE\r\n:buildSrc:check UP-TO-DATE\r\n:buildSrc:build\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\njava.lang.UnsupportedClassVersionError: org/sonarqube/gradle/SonarQubePlugin : Unsupported major.minor version 52.0\r\n> org/sonarqube/gradle/SonarQubePlugin : Unsupported major.minor version 52.0\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 6.401 secs\r\n```\r\n\r\n### Expected Behavior\r\n\r\n<!--\r\nPlease describe step by step the behavior you expect\r\n-->\r\n\r\nI expect the command to complete without errors with a successful status (`BUILD SUCCESS`)\r\n\r\n### Configuration\r\n\r\n<!--\r\nPlease provide any configuration you have.\r\n-->\r\n\r\nI am not sure what else beyond the [Prerequisites](https://github.com/spring-projects/spring-security/blob/master/README.adoc#prerequisites) might be relevant here.\r\n\r\n### Version\r\n\r\n<!--\r\nPlease describe what version you are using. Does the problem occur in other versions?\r\n-->\r\n\r\nIt is a fresh clone.\r\n\r\n### Sample\r\n\r\n<!--\r\nProviding a complete sample (i.e. link to a github repository) will give this issue higher\r\npriority than issues that do not have a complete sample\r\n-->\r\n"}}
{"actor":{"display_login":"pdkovacs"}}