java.lang.RuntimeException

Could not resolve project dependencies

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12

  • via Unknown by Александр Гурьянов,
  • via Unknown by Wieslaw Popielarski,
  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.RuntimeException: Could not resolve project dependencies at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:166) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.RuntimeException: Could not resolve project dependencies at org.eclipse.tycho.p2.resolver.P2DependencyResolver.collectPomDependencies(P2DependencyResolver.java:268) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform(P2DependencyResolver.java:197) at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject(DefaultTychoResolver.java:99) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:310) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) ... 11 more Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing: ---------- 1) org.scala-ide:org.scala-ide.sbt.full.library:jar:4.1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-ide -DartifactId=org.scala-ide.sbt.full.library -Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.scala-ide -DartifactId=org.scala-ide.sbt.full.library -Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT 2) org.scala-ide:org.scala-ide.sbt.full.library:jar:4.1.0-SNAPSHOT 2) org.scala-ide:org.scala-ide.sbt.full.library.source:jar:4.1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-ide -DartifactId=org.scala-ide.sbt.full.library.source -Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.scala-ide -DartifactId=org.scala-ide.sbt.full.library.source -Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT 2) org.scala-ide:org.scala-ide.sbt.full.library.source:jar:4.1.0-SNAPSHOT 3) org.scala-ide:org.scala-ide.sbt.compiler.interface:jar:4.1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-ide -DartifactId=org.scala-ide.sbt.compiler.interface -Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.scala-ide -DartifactId=org.scala-ide.sbt.compiler.interface -Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT 2) org.scala-ide:org.scala-ide.sbt.compiler.interface:jar:4.1.0-SNAPSHOT 4) org.scala-ide:org.scala-ide.sbt.compiler.interface.source:jar:4.1.0-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-ide -DartifactId=org.scala-ide.sbt.compiler.interface.source -Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.scala-ide -DartifactId=org.scala-ide.sbt.compiler.interface.source -Dversion=4.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT 2) org.scala-ide:org.scala-ide.sbt.compiler.interface.source:jar:4.1.0-SNAPSHOT ---------- 4 required artifacts are missing. for artifact: org.scala-ide:org.scala-ide.sbt.feature:pom:4.1.0-SNAPSHOT from the specified remote repositories: sonatype.release (https://oss.sonatype.org/content/repositories/releases/, releases=true, snapshots=false), sonatype.snapshot (https://oss.sonatype.org/content/repositories/snapshots, releases=true, snapshots=true), central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) at org.apache.maven.artifact.resolver.DefaultResolutionErrorHandler.throwErrors(DefaultResolutionErrorHandler.java:71) at org.apache.maven.DefaultProjectDependenciesResolver.resolveImpl(DefaultProjectDependenciesResolver.java:163) at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:76) at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:60) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.collectPomDependencies(P2DependencyResolver.java:255) ... 16 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,