java.lang.RuntimeException

Could not resolve project dependencies

Solutions on the web13203

  • via Google Groups by Александр Гурьянов, 6 months ago
    Could not resolve project dependencies
  • via Google Groups by Unknown author, 1 month ago
    Could not resolve project dependencies
  • Could not resolve project dependencies
  • Stack trace

    • java.lang.RuntimeException: Could not resolve project dependencies at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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:274) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 11 more Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing: ---------- 1) org.scala-lang:scala-library:jar:2.10.5-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-library -Dversion=2.10.5-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-lang -DartifactId=scala-library -Dversion=2.10.5-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.scala210.jars:pom:4.1.0-SNAPSHOT 2) org.scala-lang:scala-library:jar:2.10.5-SNAPSHOT 2) org.scala-lang:scala-reflect:jar:2.10.5-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-reflect -Dversion=2.10.5-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-lang -DartifactId=scala-reflect -Dversion=2.10.5-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.scala210.jars:pom:4.1.0-SNAPSHOT 2) org.scala-lang:scala-reflect:jar:2.10.5-SNAPSHOT 3) org.scala-lang:scala-actors:jar:2.10.5-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-actors -Dversion=2.10.5-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-lang -DartifactId=scala-actors -Dversion=2.10.5-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.scala210.jars:pom:4.1.0-SNAPSHOT 2) org.scala-lang:scala-actors:jar:2.10.5-SNAPSHOT 4) org.scala-lang:scala-compiler:jar:2.10.5-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-compiler -Dversion=2.10.5-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-lang -DartifactId=scala-compiler -Dversion=2.10.5-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.scala210.jars:pom:4.1.0-SNAPSHOT 2) org.scala-lang:scala-compiler:jar:2.10.5-SNAPSHOT 5) org.scala-lang:scala-swing:jar:2.10.5-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-swing -Dversion=2.10.5-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-lang -DartifactId=scala-swing -Dversion=2.10.5-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.scala210.jars:pom:4.1.0-SNAPSHOT 2) org.scala-lang:scala-swing:jar:2.10.5-SNAPSHOT 6) org.scala-lang:scala-compiler:jar:sources:2.10.5-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-compiler -Dversion=2.10.5-SNAPSHOT -Dclassifier=sources -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-lang -DartifactId=scala-compiler -Dversion=2.10.5-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.scala210.jars:pom:4.1.0-SNAPSHOT 2) org.scala-lang:scala-compiler:jar:sources:2.10.5-SNAPSHOT 7) org.scala-lang:scala-reflect:jar:sources:2.10.5-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-reflect -Dversion=2.10.5-SNAPSHOT -Dclassifier=sources -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-lang -DartifactId=scala-reflect -Dversion=2.10.5-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.scala210.jars:pom:4.1.0-SNAPSHOT 2) org.scala-lang:scala-reflect:jar:sources:2.10.5-SNAPSHOT 8) org.scala-lang:scala-actors:jar:sources:2.10.5-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-actors -Dversion=2.10.5-SNAPSHOT -Dclassifier=sources -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-lang -DartifactId=scala-actors -Dversion=2.10.5-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.scala210.jars:pom:4.1.0-SNAPSHOT 2) org.scala-lang:scala-actors:jar:sources:2.10.5-SNAPSHOT 9) org.scala-lang:scala-swing:jar:sources:2.10.5-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-swing -Dversion=2.10.5-SNAPSHOT -Dclassifier=sources -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-lang -DartifactId=scala-swing -Dversion=2.10.5-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.scala210.jars:pom:4.1.0-SNAPSHOT 2) org.scala-lang:scala-swing:jar:sources:2.10.5-SNAPSHOT 10) org.scala-lang:scala-library:jar:sources:2.10.5-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.scala-lang -DartifactId=scala-library -Dversion=2.10.5-SNAPSHOT -Dclassifier=sources -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-lang -DartifactId=scala-library -Dversion=2.10.5-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.scala-ide:org.scala-ide.scala210.jars:pom:4.1.0-SNAPSHOT 2) org.scala-lang:scala-library:jar:sources:2.10.5-SNAPSHOT ---------- 10 required artifacts are missing. for artifact: org.scala-ide:org.scala-ide.scala210.jars:pom:4.1.0-SNAPSHOT from the specified remote repositories: typesafe-ide-211 (http://private-repo.typesafe.com/typesafe/ide-2.11, releases=true, snapshots=true), 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 (http://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:162) at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:75) at org.apache.maven.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:59) 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 user
    Once, 11 months ago