org.gradle.api.artifacts.ResolveException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • :: problems summary :: :::: WARNINGS :::::::::::::::::::::::::::::::::::::::::::::: :: UNRESOLVED DEPENDENCIES :: :::::::::::::::::::::::::::::::::::::::::::::: :: org.gradle#gradle-core;0.9-rc-1: configuration not found in org.gradle#gradle-core;0.9-rc-1: 'publicTestCompile'. It was required from org.jfrog.buildinfo#build-info-extractor-gradle;1.1-alpha-1 testCompile :::::::::::::::::::::::::::::::::::::::::::::: Error during extraction: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':build-info-extractor-gradle:testCompile': - unresolved dependency: org.gradle#gradle-core;0.9+: configuration not found in org.gradle#gradle-core;0.9-rc-1: 'publicTestCompile'. It was required from org.jfrog.buildinfo#build-info-extractor-gradle;1.1-alpha-1 testCompile at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyResolver$ResolvedConfigurationImpl.rethrowFailure(DefaultIvyDependencyResolver.java:100) at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyResolver$ResolvedConfigurationImpl.getResolvedArtifacts(DefaultIvyDependencyResolver.java:139) at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyResolver$1.getResolvedArtifacts(SelfResolvingDependencyResolver.java:62) at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingIvyService$ErrorHandlingResolvedConfiguration.getResolvedArtifacts(ErrorHandlingIvyService.java:106) at org.jfrog.build.extractor.gradle.GradleBuildInfoExtractor.calculateDependencies(GradleBuildInfoExtractor.java:332) at org.jfrog.build.extractor.gradle.GradleBuildInfoExtractor.extractModule(GradleBuildInfoExtractor.java:258) at org.jfrog.build.extractor.gradle.GradleBuildInfoExtractor.extract(GradleBuildInfoExtractor.java:144) at org.jfrog.build.extractor.gradle.BuildInfoRecorderTask.closeAndDeploy(BuildInfoRecorderTask.java:176) at org.jfrog.build.extractor.gradle.BuildInfoRecorderTask.collectProjectBuildInfo(BuildInfoRecorderTask.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158) at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93) at org.jfrog.build.extractor.gradle.BuildInfoRecorderTask_Decorated.invokeMethod(Unknown Source) at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source) at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:131) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:129) at org.gradle.api.internal.tasks.DefaultTaskExecuter.executeActions(DefaultTaskExecuter.java:58) at org.gradle.api.internal.tasks.DefaultTaskExecuter.execute(DefaultTaskExecuter.java:43) at org.gradle.api.internal.project.taskfactory.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:32) at org.gradle.api.internal.project.taskfactory.ExecutionShortCircuitTaskExecuter.execute(ExecutionShortCircuitTaskExecuter.java:50) at org.gradle.api.internal.tasks.SkipTaskExecuter.doExecute(SkipTaskExecuter.java:57) at org.gradle.api.internal.tasks.SkipTaskExecuter.execute(SkipTaskExecuter.java:35) at org.gradle.api.internal.tasks.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:32) at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:231) at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167) at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160) at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78) at org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113) at org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:153) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:107) at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:75) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:209) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:193) at org.gradle.launcher.Main.execute(Main.java:55) at org.gradle.launcher.Main.main(Main.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:46) at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:28) at org.gradle.launcher.GradleMain.main(GradleMain.java:24) Deploying build info to: http://localhost:8080/artifactory/api/build
    via by Tomer Cohen,
  • :: problems summary :: :::: WARNINGS :::::::::::::::::::::::::::::::::::::::::::::: :: UNRESOLVED DEPENDENCIES :: :::::::::::::::::::::::::::::::::::::::::::::: :: org.gradle#gradle-core;0.9-rc-1: configuration not found in org.gradle#gradle-core;0.9-rc-1: 'publicTestCompile'. It was required from org.jfrog.buildinfo#build-info-extractor-gradle;1.1-alpha-1 testCompile :::::::::::::::::::::::::::::::::::::::::::::: Error during extraction: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':build-info-extractor-gradle:testCompile': - unresolved dependency: org.gradle#gradle-core;0.9+: configuration not found in org.gradle#gradle-core;0.9-rc-1: 'publicTestCompile'. It was required from org.jfrog.buildinfo#build-info-extractor-gradle;1.1-alpha-1 testCompile at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyResolver$ResolvedConfigurationImpl.rethrowFailure(DefaultIvyDependencyResolver.java:100) at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyResolver$ResolvedConfigurationImpl.getResolvedArtifacts(DefaultIvyDependencyResolver.java:139) at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyResolver$1.getResolvedArtifacts(SelfResolvingDependencyResolver.java:62) at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingIvyService$ErrorHandlingResolvedConfiguration.getResolvedArtifacts(ErrorHandlingIvyService.java:106) at org.jfrog.build.extractor.gradle.GradleBuildInfoExtractor.calculateDependencies(GradleBuildInfoExtractor.java:332) at org.jfrog.build.extractor.gradle.GradleBuildInfoExtractor.extractModule(GradleBuildInfoExtractor.java:258) at org.jfrog.build.extractor.gradle.GradleBuildInfoExtractor.extract(GradleBuildInfoExtractor.java:144) at org.jfrog.build.extractor.gradle.BuildInfoRecorderTask.closeAndDeploy(BuildInfoRecorderTask.java:176) at org.jfrog.build.extractor.gradle.BuildInfoRecorderTask.collectProjectBuildInfo(BuildInfoRecorderTask.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158) at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93) at org.jfrog.build.extractor.gradle.BuildInfoRecorderTask_Decorated.invokeMethod(Unknown Source) at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source) at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:131) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:129) at org.gradle.api.internal.tasks.DefaultTaskExecuter.executeActions(DefaultTaskExecuter.java:58) at org.gradle.api.internal.tasks.DefaultTaskExecuter.execute(DefaultTaskExecuter.java:43) at org.gradle.api.internal.project.taskfactory.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:32) at org.gradle.api.internal.project.taskfactory.ExecutionShortCircuitTaskExecuter.execute(ExecutionShortCircuitTaskExecuter.java:50) at org.gradle.api.internal.tasks.SkipTaskExecuter.doExecute(SkipTaskExecuter.java:57) at org.gradle.api.internal.tasks.SkipTaskExecuter.execute(SkipTaskExecuter.java:35) at org.gradle.api.internal.tasks.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:32) at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:231) at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167) at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160) at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78) at org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113) at org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:153) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:107) at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:75) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:209) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:193) at org.gradle.launcher.Main.execute(Main.java:55) at org.gradle.launcher.Main.main(Main.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:46) at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:28) at org.gradle.launcher.GradleMain.main(GradleMain.java:24) Deploying build info to: http://localhost:8080/artifactory/api/build
    via by Tomer Cohen,
  • This project builds ok on the commandline using milestone 3 wrapper (must update wrapper after checking out from git). After verifying that it builds on the commandline, you should delete the .gradle .ivy2 and .m2 folders if you want to reproduce the error in STS. (If you've already built the project on the commandline, I gather the 'missing' dependency will be in the cache so the problem does not occur). I tried to import the project and got the following error, making it impossible to import this project since no project model is constructed. {noformat} java.lang.reflect.InvocationTargetException at com.springsource.sts.gradle.core.util.GradleRunnable.run(GradleRunnable.java:80) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.eclipse.core.runtime.CoreException: Could not fetch model of type 'HierarchicalEclipseProject' using Gradle distribution 'http://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-3-bin.zip'. at com.springsource.sts.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:59) at com.springsource.sts.gradle.core.GradleModelProvider$PrefetchingModelProvider.requestModel(GradleModelProvider.java:102) at com.springsource.sts.gradle.core.GradleProject.getGradleModel(GradleProject.java:328) at com.springsource.sts.gradle.core.GradleProject.getSkeletalGradleModel(GradleProject.java:341) at com.springsource.sts.gradle.ui.wizards.GradleImportWizardPageOne$9.doit(GradleImportWizardPageOne.java:422) at com.springsource.sts.gradle.core.util.GradleRunnable.run(GradleRunnable.java:72) ... 1 more Caused by: org.gradle.tooling.BuildException: Could not fetch model of type 'HierarchicalEclipseProject' using Gradle distribution 'http://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-3-bin.zip'. at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:44) at org.gradle.tooling.internal.consumer.DefaultAsyncConnection$3.run(DefaultAsyncConnection.java:73) at org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.gradle.api.LocationAwareException: Could not resolve all dependencies for configuration ':grails-datastore-gorm-gemfire:testRuntimeCopy': - unresolved dependency: com.gemstone.gemfire#gemfire;6.5.1.4: not found at org.gradle.initialization.DefaultExceptionAnalyser.transform(DefaultExceptionAnalyser.java:85) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:114) at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:91) at org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:42) at org.gradle.tooling.internal.provider.DelegatingBuildModelAction.run(DelegatingBuildModelAction.java:42) at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:56) at org.gradle.launcher.DefaultGradleLauncherActionExecuter.execute(DefaultGradleLauncherActionExecuter.java:49) at org.gradle.launcher.DaemonMain.build(DaemonMain.java:143) at org.gradle.launcher.DaemonMain.doRunWithExceptionHandling(DaemonMain.java:132) at org.gradle.launcher.DaemonMain.doRunWithLogging(DaemonMain.java:114) at org.gradle.launcher.DaemonMain.doRun(DaemonMain.java:94) at org.gradle.launcher.DaemonMain.access$000(DaemonMain.java:45) at org.gradle.launcher.DaemonMain$1.handle(DaemonMain.java:75) at org.gradle.launcher.DaemonConnector$1.execute(DaemonConnector.java:165) at org.gradle.launcher.DaemonConnector$1.execute(DaemonConnector.java:161) at org.gradle.messaging.remote.internal.TcpIncomingConnector$Receiver.run(TcpIncomingConnector.java:102) ... 4 more Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':grails-datastore-gorm-gemfire:testRuntimeCopy': - unresolved dependency: com.gemstone.gemfire#gemfire;6.5.1.4: not found at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyResolver$ResolvedConfigurationImpl.rethrowFailure(DefaultIvyDependencyResolver.java:100) at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyResolver$ResolvedConfigurationImpl.getFirstLevelModuleDependencies(DefaultIvyDependencyResolver.java:132) at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyResolver$1.getFirstLevelModuleDependencies(SelfResolvingDependencyResolver.java:70) at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingIvyService$ErrorHandlingResolvedConfiguration.getFirstLevelModuleDependencies(ErrorHandlingIvyService.java:104) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.resolveDependencies(ClasspathFactory.groovy:135) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.this$2$resolveDependencies(ClasspathFactory.groovy) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory$this$2$resolveDependencies.callCurrent(Unknown Source) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.getLibraries(ClasspathFactory.groovy:78) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.getEntriesFromConfigurations(ClasspathFactory.groovy:69) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.this$2$getEntriesFromConfigurations(ClasspathFactory.groovy) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory$this$2$getEntriesFromConfigurations.callCurrent(Unknown Source) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.createEntries(ClasspathFactory.groovy:35) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory$createEntries.call(Unknown Source) at org.gradle.plugins.ide.eclipse.model.EclipseClasspath.resolveDependencies(EclipseClasspath.groovy:136) at org.gradle.tooling.internal.provider.ModelBuilder.populate(ModelBuilder.java:76) at org.gradle.tooling.internal.provider.ModelBuilder.populate(ModelBuilder.java:91) at org.gradle.tooling.internal.provider.ModelBuilder.buildAll(ModelBuilder.java:57) at org.gradle.tooling.internal.provider.ModelBuildingAdapter.projectsEvaluated(ModelBuildingAdapter.java:39) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:75) at $Proxy6.projectsEvaluated(Unknown Source) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:142) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112) at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:91) at org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:42) at org.gradle.tooling.internal.provider.DelegatingBuildModelAction.run(DelegatingBuildModelAction.java:42) at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:56) at org.gradle.launcher.DefaultGradleLauncherActionExecuter.execute(DefaultGradleLauncherActionExecuter.java:49) at org.gradle.launcher.DaemonMain.build(DaemonMain.java:143) at org.gradle.launcher.DaemonMain.doRunWithExceptionHandling(DaemonMain.java:132) at org.gradle.launcher.DaemonMain.doRunWithLogging(DaemonMain.java:114) at org.gradle.launcher.DaemonMain.doRun(DaemonMain.java:94) at org.gradle.launcher.DaemonMain.access$000(DaemonMain.java:45) at org.gradle.launcher.DaemonMain$1.handle(DaemonMain.java:75) at org.gradle.launcher.DaemonConnector$1.execute(DaemonConnector.java:165) at org.gradle.launcher.DaemonConnector$1.execute(DaemonConnector.java:161) at org.gradle.messaging.remote.internal.TcpIncomingConnector$Receiver.run(TcpIncomingConnector.java:102) at org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:63) Root exception: org.eclipse.core.runtime.CoreException: Could not fetch model of type 'HierarchicalEclipseProject' using Gradle distribution 'http://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-3-bin.zip'. at com.springsource.sts.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:59) at com.springsource.sts.gradle.core.GradleModelProvider$PrefetchingModelProvider.requestModel(GradleModelProvider.java:102) at com.springsource.sts.gradle.core.GradleProject.getGradleModel(GradleProject.java:328) at com.springsource.sts.gradle.core.GradleProject.getSkeletalGradleModel(GradleProject.java:341) at com.springsource.sts.gradle.ui.wizards.GradleImportWizardPageOne$9.doit(GradleImportWizardPageOne.java:422) at com.springsource.sts.gradle.core.util.GradleRunnable.run(GradleRunnable.java:72) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.gradle.tooling.BuildException: Could not fetch model of type 'HierarchicalEclipseProject' using Gradle distribution 'http://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-3-bin.zip'. at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:44) at org.gradle.tooling.internal.consumer.DefaultAsyncConnection$3.run(DefaultAsyncConnection.java:73) at org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:63) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.gradle.api.LocationAwareException: Could not resolve all dependencies for configuration ':grails-datastore-gorm-gemfire:testRuntimeCopy': - unresolved dependency: com.gemstone.gemfire#gemfire;6.5.1.4: not found at org.gradle.initialization.DefaultExceptionAnalyser.transform(DefaultExceptionAnalyser.java:85) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:114) at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:91) at org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:42) at org.gradle.tooling.internal.provider.DelegatingBuildModelAction.run(DelegatingBuildModelAction.java:42) at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:56) at org.gradle.launcher.DefaultGradleLauncherActionExecuter.execute(DefaultGradleLauncherActionExecuter.java:49) at org.gradle.launcher.DaemonMain.build(DaemonMain.java:143) at org.gradle.launcher.DaemonMain.doRunWithExceptionHandling(DaemonMain.java:132) at org.gradle.launcher.DaemonMain.doRunWithLogging(DaemonMain.java:114) at org.gradle.launcher.DaemonMain.doRun(DaemonMain.java:94) at org.gradle.launcher.DaemonMain.access$000(DaemonMain.java:45) at org.gradle.launcher.DaemonMain$1.handle(DaemonMain.java:75) at org.gradle.launcher.DaemonConnector$1.execute(DaemonConnector.java:165) at org.gradle.launcher.DaemonConnector$1.execute(DaemonConnector.java:161) at org.gradle.messaging.remote.internal.TcpIncomingConnector$Receiver.run(TcpIncomingConnector.java:102) ... 4 more Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':grails-datastore-gorm-gemfire:testRuntimeCopy': - unresolved dependency: com.gemstone.gemfire#gemfire;6.5.1.4: not found at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyResolver$ResolvedConfigurationImpl.rethrowFailure(DefaultIvyDependencyResolver.java:100) at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyResolver$ResolvedConfigurationImpl.getFirstLevelModuleDependencies(DefaultIvyDependencyResolver.java:132) at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyResolver$1.getFirstLevelModuleDependencies(SelfResolvingDependencyResolver.java:70) at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingIvyService$ErrorHandlingResolvedConfiguration.getFirstLevelModuleDependencies(ErrorHandlingIvyService.java:104) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.resolveDependencies(ClasspathFactory.groovy:135) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.this$2$resolveDependencies(ClasspathFactory.groovy) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory$this$2$resolveDependencies.callCurrent(Unknown Source) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.getLibraries(ClasspathFactory.groovy:78) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.getEntriesFromConfigurations(ClasspathFactory.groovy:69) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.this$2$getEntriesFromConfigurations(ClasspathFactory.groovy) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory$this$2$getEntriesFromConfigurations.callCurrent(Unknown Source) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.createEntries(ClasspathFactory.groovy:35) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory$createEntries.call(Unknown Source) at org.gradle.plugins.ide.eclipse.model.EclipseClasspath.resolveDependencies(EclipseClasspath.groovy:136) at org.gradle.tooling.internal.provider.ModelBuilder.populate(ModelBuilder.java:76) at org.gradle.tooling.internal.provider.ModelBuilder.populate(ModelBuilder.java:91) at org.gradle.tooling.internal.provider.ModelBuilder.buildAll(ModelBuilder.java:57) at org.gradle.tooling.internal.provider.ModelBuildingAdapter.projectsEvaluated(ModelBuildingAdapter.java:39) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:75) at $Proxy6.projectsEvaluated(Unknown Source) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:142) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112) at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:91) at org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:42) at org.gradle.tooling.internal.provider.DelegatingBuildModelAction.run(DelegatingBuildModelAction.java:42) at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:56) at org.gradle.launcher.DefaultGradleLauncherActionExecuter.execute(DefaultGradleLauncherActionExecuter.java:49) at org.gradle.launcher.DaemonMain.build(DaemonMain.java:143) at org.gradle.launcher.DaemonMain.doRunWithExceptionHandling(DaemonMain.java:132) at org.gradle.launcher.DaemonMain.doRunWithLogging(DaemonMain.java:114) at org.gradle.launcher.DaemonMain.doRun(DaemonMain.java:94) at org.gradle.launcher.DaemonMain.access$000(DaemonMain.java:45) at org.gradle.launcher.DaemonMain$1.handle(DaemonMain.java:75) at org.gradle.launcher.DaemonConnector$1.execute(DaemonConnector.java:165) at org.gradle.launcher.DaemonConnector$1.execute(DaemonConnector.java:161) at org.gradle.messaging.remote.internal.TcpIncomingConnector$Receiver.run(TcpIncomingConnector.java:102) at org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:63) {noformat}
    via by Kris De Volder,
  • I'm attaching two tests projects that were provided to me by an STS user who was actually reporting a differen bug. (see issue https://issuetracker.springsource.com/browse/STS-1838). To reproduce the bug take the following steps. - on TestProject1 run "gradle uploadArchives" - Try to obtain the "full" Eclipse project model for TestProject2. (In Eclipse/STS this happens when you run "Refresh Dependencies"). The following errors are reported (but trying to compile the project with gradle on the commandline "gradle package", will produce no errors. These errors will disappear if we modify TestProject1's build script to publish a sources.jar. (And then we hit another Tooling API bug, which I will raise a separate Jira for). {noformat} Note: the Gradle build daemon is an experimental feature. As such, you may experience unexpected build failures. You may need to occasionally stop the daemon. :: problems summary :: :::: WARNINGS module not found: org.myorg#Testproject1;0.1 ==== clientModule: tried ==== internal-repository: tried ==== fileRepo: tried -- artifact org.myorg#Testproject1;0.1!Testproject1.jar(source): /home/kdvolder/tmp/davide/Testproject2/../repo/Testproject1-0.1-sources.jar /home/kdvolder/tmp/davide/Testproject2/../repo/Testproject1-sources.jar :::::::::::::::::::::::::::::::::::::::::::::: :: UNRESOLVED DEPENDENCIES :: :::::::::::::::::::::::::::::::::::::::::::::: :: org.myorg#Testproject1;0.1: not found :::::::::::::::::::::::::::::::::::::::::::::: FAILURE: Build failed with an exception. * What went wrong: Could not resolve all dependencies for configuration 'detachedConfiguration1': - unresolved dependency: org.myorg#Testproject1;0.1: not found * Try: Run with --info or --debug option to get more log output. * Exception is: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration 'detachedConfiguration1': - unresolved dependency: org.myorg#Testproject1;0.1: not found at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyResolver$ResolvedConfigurationImpl.rethrowFailure(DefaultIvyDependencyResolver.java:100) at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyResolver$1.rethrowFailure(SelfResolvingDependencyResolver.java:78) at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingIvyService$ErrorHandlingResolvedConfiguration.rethrowFailure(ErrorHandlingIvyService.java:80) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:477) at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getFiles(DefaultConfiguration.java:169) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.getFiles(ClasspathFactory.groovy:137) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.this$2$getFiles(ClasspathFactory.groovy) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory$this$2$getFiles.callCurrent(Unknown Source) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.getLibraries(ClasspathFactory.groovy:65) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.getDependencies(ClasspathFactory.groovy:50) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.this$2$getDependencies(ClasspathFactory.groovy) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory$this$2$getDependencies.callCurrent(Unknown Source) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory.createEntries(ClasspathFactory.groovy:36) at org.gradle.plugins.ide.eclipse.model.internal.ClasspathFactory$createEntries.call(Unknown Source) at org.gradle.plugins.ide.eclipse.model.EclipseClasspath.resolveDependencies(EclipseClasspath.groovy:198) at org.gradle.tooling.internal.provider.ModelBuilder.populate(ModelBuilder.java:75) at org.gradle.tooling.internal.provider.ModelBuilder.buildAll(ModelBuilder.java:59) at org.gradle.tooling.internal.provider.ModelBuildingAdapter.projectsEvaluated(ModelBuildingAdapter.java:37) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:88) at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDispatch.java:32) at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:75) at $Proxy5.projectsEvaluated(Unknown Source) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:142) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112) at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:91) at org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:44) at org.gradle.tooling.internal.provider.DelegatingBuildModelAction.run(DelegatingBuildModelAction.java:42) at org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:56) at org.gradle.launcher.DefaultGradleLauncherActionExecuter.execute(DefaultGradleLauncherActionExecuter.java:49) at org.gradle.launcher.DaemonMain.build(DaemonMain.java:151) at org.gradle.launcher.DaemonMain.doRunWithExceptionHandling(DaemonMain.java:140) at org.gradle.launcher.DaemonMain.doRunWithLogging(DaemonMain.java:122) at org.gradle.launcher.DaemonMain.doRun(DaemonMain.java:102) at org.gradle.launcher.DaemonMain.access$000(DaemonMain.java:44) at org.gradle.launcher.DaemonMain$1.handle(DaemonMain.java:83) at org.gradle.launcher.DaemonConnector$1.execute(DaemonConnector.java:155) at org.gradle.launcher.DaemonConnector$1.execute(DaemonConnector.java:151) at org.gradle.messaging.remote.internal.inet.TcpIncomingConnector$Receiver.run(TcpIncomingConnector.java:118) at org.gradle.messaging.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64) BUILD FAILED Total time: 0.238 secs {noformat}
    via by Kris De Volder,
    • org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':build-info-extractor-gradle:testCompile': - unresolved dependency: org.gradle#gradle-core;0.9+: configuration not found in org.gradle#gradle-core;0.9-rc-1: 'publicTestCompile'. It was required from org.jfrog.buildinfo#build-info-extractor-gradle;1.1-alpha-1 testCompile at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyResolver$ResolvedConfigurationImpl.rethrowFailure(DefaultIvyDependencyResolver.java:100) at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyDependencyResolver$ResolvedConfigurationImpl.getResolvedArtifacts(DefaultIvyDependencyResolver.java:139) at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyResolver$1.getResolvedArtifacts(SelfResolvingDependencyResolver.java:62) at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingIvyService$ErrorHandlingResolvedConfiguration.getResolvedArtifacts(ErrorHandlingIvyService.java:106) at org.jfrog.build.extractor.gradle.GradleBuildInfoExtractor.calculateDependencies(GradleBuildInfoExtractor.java:332) at org.jfrog.build.extractor.gradle.GradleBuildInfoExtractor.extractModule(GradleBuildInfoExtractor.java:258) at org.jfrog.build.extractor.gradle.GradleBuildInfoExtractor.extract(GradleBuildInfoExtractor.java:144) at org.jfrog.build.extractor.gradle.BuildInfoRecorderTask.closeAndDeploy(BuildInfoRecorderTask.java:176) at org.jfrog.build.extractor.gradle.BuildInfoRecorderTask.collectProjectBuildInfo(BuildInfoRecorderTask.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158) at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93) at org.jfrog.build.extractor.gradle.BuildInfoRecorderTask_Decorated.invokeMethod(Unknown Source) at groovy.lang.GroovyObject$invokeMethod.call(Unknown Source) at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:131) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:129) at org.gradle.api.internal.tasks.DefaultTaskExecuter.executeActions(DefaultTaskExecuter.java:58) at org.gradle.api.internal.tasks.DefaultTaskExecuter.execute(DefaultTaskExecuter.java:43) at org.gradle.api.internal.project.taskfactory.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:32) at org.gradle.api.internal.project.taskfactory.ExecutionShortCircuitTaskExecuter.execute(ExecutionShortCircuitTaskExecuter.java:50) at org.gradle.api.internal.tasks.SkipTaskExecuter.doExecute(SkipTaskExecuter.java:57) at org.gradle.api.internal.tasks.SkipTaskExecuter.execute(SkipTaskExecuter.java:35) at org.gradle.api.internal.tasks.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:32) at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:231) at org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167) at org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160) at org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78) at org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113) at org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:153) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:107) at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:75) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41) at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:209) at org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:193) at org.gradle.launcher.Main.execute(Main.java:55) at org.gradle.launcher.Main.main(Main.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:46) at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:28) at org.gradle.launcher.GradleMain.main(GradleMain.java:24)
    No Bugmate found.