question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Could not resolve org.jetbrains.kotlinx:kotlin-deeplearning-api:0.3.0." Error

See original GitHub issue

When trying to add to my gradle on a fresh project I am unable to resolve the dependency. I tried clearing my cache, refreshing my dependencies, and everything else downloads fine but not "org.jetbrains.kotlinx:kotlin-deeplearning-api:0.3.0."

The error thrown by Intellij is:

Could not resolve org.jetbrains.kotlinx:kotlin-deeplearning-api:0.3.0.
Required by:
    project :

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Here is my build.gradle:

plugins {
    id 'org.jetbrains.kotlin.jvm' version '1.5.10'
}

group = 'me.haydenkai'
version = '1.0-SNAPSHOT'

repositories {
    mavenCentral()
}

dependencies {
    testImplementation 'org.jetbrains.kotlin:kotlin-test:1.6.0'

    implementation 'org.jetbrains.kotlinx:kotlin-deeplearning-api:0.3.0'
}

test {
    useJUnit()
}

compileKotlin {
    kotlinOptions.jvmTarget = '1.8'
}

compileTestKotlin {
    kotlinOptions.jvmTarget = '1.8'
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
zaleslawcommented, Nov 22, 2021

Thanks for the quick response. Looks like we are trying to use Kotlin Data Science libs with Kotlin 1.5 and 1.6 at this moment with the jdk 11 and higher, but I’ll raise the question about jdk 8 support

0reactions
haydenkaizetacommented, Nov 21, 2021

Changing Project SDK (File -> Project Structure -> (Project Settings) Project -> Project SDK) to jdk 11 fixed the issue. Then I had to change the demo project’s build.gradle jvm target to match (kotlinOptions.jvmTarget = "11")

Would be great if we could use Java/JDK 8 here but this fixed the issue for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Could not resolve org.jetbrains.intellij.deps:asm-all" localhost
I'm upgrading " org.jetbrains.intellij. from 0.6.5 to latest 1.4.0 and ran into this problem. (0.6.5 worked fine)
Read more >
Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10
It may be the case that you have configured your system to use a local proxy server, but it's not actually running on...
Read more >
Plugin is included in composite-build cannot resolve org ...
Could not resolve all task dependencies for configuration ... Could not find org.jetbrains:annotations:19.0.0. Searched in the following ...
Read more >
[Fixed] Could not resolve org.jetbrains.kotlin:kotlin-gradle ...
When you create an empty activity Android project using Kotlin in Android Studio, you might get this error at the beginning during the ......
Read more >
Fix Error Android Studio: Could not find org.jetbrains.kotlin ...
Solucion al Error en android Studio con el Gradle Could not find org. jetbrains.kotlin:kotlin-gradle-plugin:15.0-release-764 Siguenos en ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found