sql server - Gradle Could not resolve: com.microsoft.sqlserver:sqljdbc4:4.0 -


please me resolve error...

added dependency in build.gradle

**// https://mvnrepository.com/artifact/com.microsoft.sqlserver/sqljdbc4 testcompile group: 'com.microsoft.sqlserver', name: 'sqljdbc4', version: '4.0'** 

after refresh gradle project, getting error below:

**could not resolve: com.microsoft.sqlserver:sqljdbc4:4.0** 

"it worked me after adding in locally, here steps in eclipse neon."

step 1. create 'lib' folder under main project   step 2. copy jar file 'sqljdbc4' lib folder   step 3. add below dependency in 'build.gradle' file repositories {     jcenter()     mavencentral()     flatdir {         dirs 'lib'     } }    dependencies {  compile name: "sqljdbc4-4.0" }    step 4. right click on main project , refresh gradle 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -