{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3512","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3512/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3512/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3512/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/3512","id":152413902,"number":3512,"title":"build.gradle configuration Error","user":{"login":"fmatuszewski","id":5027614,"avatar_url":"https://avatars.githubusercontent.com/u/5027614?v=3","gravatar_id":"","url":"https://api.github.com/users/fmatuszewski","html_url":"https://github.com/fmatuszewski","followers_url":"https://api.github.com/users/fmatuszewski/followers","following_url":"https://api.github.com/users/fmatuszewski/following{/other_user}","gists_url":"https://api.github.com/users/fmatuszewski/gists{/gist_id}","starred_url":"https://api.github.com/users/fmatuszewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmatuszewski/subscriptions","organizations_url":"https://api.github.com/users/fmatuszewski/orgs","repos_url":"https://api.github.com/users/fmatuszewski/repos","events_url":"https://api.github.com/users/fmatuszewski/events{/privacy}","received_events_url":"https://api.github.com/users/fmatuszewski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/gradle","name":"gradle","color":"bfe5bf"},{"url":"https://api.github.com/repos/jhipster/generator-jhipster/labels/waiting%20for%20information","name":"waiting for information","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-01T20:36:36Z","updated_at":"2016-05-02T17:20:42Z","closed_at":"2016-05-02T09:46:56Z","body":"<!--\r\n> Please follow the issue template below for bug reports and quiries.\r\n> Bug reports or quiries opened without any of these info will be **closed** without any explanation.\r\n> For feature requests, label the title with [FEATURE] and explain your use case and ideas clearly below, you can remove sections which are not relevant.\r\n> For bug reports your `.yo-rc.json` file is mandatory else we will close the issue.\r\n-->\r\n\r\n##### **Overview of the issue**\r\nAfter fresh installation of a gateway when I try to start application with gradle bootRun\r\nI get \r\nCause 1: org.gradle.internal.resolve.ModuleVersionNotFoundException: Cannot resolve external dependency org.springframework.boot:spring-boot-starter-parent:1.3.3.RELEASE because no repositories are defined.\r\n\r\nthis is due tu invalid configuration.\r\n\r\n##### **Motivation for or Use Case** \r\n\r\nApplication does not start.\r\n\r\n##### **JHipster Version(s)** \r\n\r\n3.1.0\r\n\r\n##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder** \r\n\r\n{\r\n  \"generator-jhipster\": {\r\n    \"jhipsterVersion\": \"3.1.0\",\r\n    \"baseName\": \"g_web\",\r\n    \"packageName\": \"me.zubi\",\r\n    \"packageFolder\": \"me/zubi\",\r\n    \"serverPort\": \"9090\",\r\n    \"authenticationType\": \"jwt\",\r\n    \"hibernateCache\": \"hazelcast\",\r\n    \"databaseType\": \"sql\",\r\n    \"devDatabaseType\": \"h2Disk\",\r\n    \"prodDatabaseType\": \"postgresql\",\r\n    \"searchEngine\": \"no\",\r\n    \"buildTool\": \"gradle\",\r\n    \"jwtSecretKey\": \"7a42fa0eaf406005a356aea3d31f0952fcc135fe\",\r\n    \"enableTranslation\": true,\r\n    \"applicationType\": \"microservice\",\r\n    \"testFrameworks\": [\r\n      \"gatling\"\r\n    ],\r\n    \"jhiPrefix\": \"jhi\",\r\n    \"skipClient\": true,\r\n    \"skipUserManagement\": true,\r\n    \"nativeLanguage\": \"en\",\r\n    \"languages\": [\r\n      \"en\",\r\n      \"de\",\r\n      \"pl\",\r\n      \"ru\"\r\n    ],\r\n    \"clusteredHttpSession\": \"no\",\r\n    \"websocket\": \"no\",\r\n    \"enableSocialSignIn\": true\r\n  }\r\n}\r\n\r\n\r\n##### **Browsers and Operating System** \r\n\r\nLinux Ubuntu 3.16.0-51-generic\r\n\r\n##### **Reproduce the error** \r\n\r\ncreate new microservice application\r\nrun it with gradle bootRun\r\n\r\n##### **Related issues** \r\n\r\n<!-- has a similar issue been reported before? -->\r\n\r\n##### **Suggest a Fix** \r\n\r\nIt should look like this\r\n\r\nbuildscript {\r\n    repositories {\r\n        mavenLocal()\r\n        jcenter()\r\n        maven { url 'http://repo.spring.io/plugins-release' }\r\n        maven { url 'http://repo.spring.io/milestone' }\r\n        maven { url \"https://plugins.gradle.org/m2/\" }\r\n    }\r\n    dependencies {\r\n        classpath group: 'org.sonarsource.scanner.gradle', name: 'sonarqube-gradle-plugin', version: '1.2'\r\n        classpath group: 'net.ltgt.gradle', name: 'gradle-apt-plugin', version: '0.6'\r\n        classpath group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: spring_boot_version\r\n        classpath group: 'org.springframework.build.gradle', name: 'propdeps-plugin', version: '0.0.7'\r\n        classpath group: 'se.transmode.gradle', name: 'gradle-docker', version: '1.2'\r\n        classpath 'io.spring.gradle:dependency-management-plugin:0.5.6.RELEASE'\r\n        //jhipster-needle-gradle-buildscript-dependency - JHipster will add additional gradle build script plugins here\r\n    }\r\n}\r\n\r\n//add this to configuration file\r\nrepositories {\r\n    mavenLocal()\r\n    jcenter()\r\n    maven { url 'http://repo.spring.io/plugins-release' }\r\n    maven { url 'http://repo.spring.io/milestone' }\r\n    maven { url \"https://plugins.gradle.org/m2/\" }\r\n}\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/216300599","html_url":"https://github.com/jhipster/generator-jhipster/issues/3512#issuecomment-216300599","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/3512","id":216300599,"user":{"login":"fmatuszewski","id":5027614,"avatar_url":"https://avatars.githubusercontent.com/u/5027614?v=3","gravatar_id":"","url":"https://api.github.com/users/fmatuszewski","html_url":"https://github.com/fmatuszewski","followers_url":"https://api.github.com/users/fmatuszewski/followers","following_url":"https://api.github.com/users/fmatuszewski/following{/other_user}","gists_url":"https://api.github.com/users/fmatuszewski/gists{/gist_id}","starred_url":"https://api.github.com/users/fmatuszewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmatuszewski/subscriptions","organizations_url":"https://api.github.com/users/fmatuszewski/orgs","repos_url":"https://api.github.com/users/fmatuszewski/repos","events_url":"https://api.github.com/users/fmatuszewski/events{/privacy}","received_events_url":"https://api.github.com/users/fmatuszewski/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T17:20:42Z","updated_at":"2016-05-02T17:20:42Z","body":"@jdubois Is it enought information?"}}