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 Unknown author,
  • via Unknown by Unknown author,
  • via Unknown by Wieslaw Popielarski,
  • 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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.P2TargetPlatformResolver.addPomDependenciesToTargetPlatform(P2TargetPlatformResolver.java:284) at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.computeTargetPlatform(P2TargetPlatformResolver.java:197) at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:100) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82) 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.membrane-soa.service-proxy:com.predic8.membrane.osgi:jar:4.0.9 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.membrane-soa.service-proxy -DartifactId=com.predic8.membrane.osgi -Dversion=4.0.9 -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.membrane-soa.service-proxy -DartifactId=com.predic8.membrane.osgi -Dversion=4.0.9 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.membrane-soa.service-proxy:com.predic8.plugin.membrane:pom:4.0.9 2) org.membrane-soa.service-proxy:com.predic8.membrane.osgi:jar:4.0.9 2) org.membrane-soa.service-proxy:service-proxy-core:jar:4.0.13-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.membrane-soa.service-proxy -DartifactId=service-proxy-core -Dversion=4.0.13-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.membrane-soa.service-proxy -DartifactId=service-proxy-core -Dversion=4.0.13-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.membrane-soa.service-proxy:com.predic8.plugin.membrane:pom:4.0.9 2) org.membrane-soa.service-proxy:service-proxy-core:jar:4.0.13-SNAPSHOT ---------- 2 required artifacts are missing. for artifact: org.membrane-soa.service-proxy:com.predic8.plugin.membrane:pom:4.0.9 from the specified remote repositories: predic8-releases (http://repository.membrane-soa.org/content/groups/public, releases=true, snapshots=true), eclipse-juno (http://download.eclipse.org/releases/juno, releases=false, snapshots=false), 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.P2TargetPlatformResolver.addPomDependenciesToTargetPlatform(P2TargetPlatformResolver.java:271) ... 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,