gradle clean/buildが失敗した理由を教えてください。 私はthis linkをインストールしてブロックチェーンを実行しようとしています。私は自分のシステムにgradleをインストールしています。私はチュートリアルで与えられたコマンドを実行したときに、私は、フォルダへのすべてのアクセス許可を与えているグラッド例外org.gradle.internal.service.ServiceCreationException
org.gradle.internal.service.ServiceCreationException
は gradle -b build.gradle clean
それがスローされます。しかし、なぜこれが来るのか混乱していますか?
FYI stacktrace--
例外は次のとおりです。 org.gradle.internal.service.ServiceCreationException:BuildScopeServices.createScriptPluginFactoryを()を使用したタイプScriptPluginFactoryのサービスを作成できませんでした。 org.gradleでorg.gradle.internal.service.DefaultServiceRegistry $ FactoryService.createでorg.gradle.internal.service.DefaultServiceRegistry $ FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:797) (DefaultServiceRegistry.java:748) で 。内部サービス.DefaultServiceRegistry $ ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574) at org.gradle.internal.service.DefaultServiceRegistry $ SingletonService.get(DefaultServiceRegistry.java:623) at org.gradle.internal.service.DefaultServiceRegistry $ FactoryService.assembleParameters(DefaultServiceRegistry.java:761) at org.gradle.internal.service.DefaultServiceRegistry $ FactoryService.create(DefaultServiceRegistry.java:747) at org.gradle.internal.service.DefaultServiceRegistry $ ManagedObjectProvid org.gradle.internal.service.DefaultServiceRegistry $ SingletonService.get(DefaultServiceRegistry.java:623) (org.gradle.internal.service.DefaultServiceRegistry $ FactoryService.assembleParameters(DefaultServiceRegistry.java:574))の でer.getInstanceを呼び出します。 Javaの:761) org.gradle.internal.service.DefaultServiceRegistry $ ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574) でのorg.gradle.internal.service.DefaultServiceRegistry $ FactoryService.create(DefaultServiceRegistry.java:747) でorg.gradle.internal.service.DefaultServiceRegistry $ SingletonService.get(DefaultServiceRegistry.java:623) at org.gradle.internal.service.DefaultServiceRegistry.doGet(DefaultServiceRegistry.java:344) at org.gradle.internal.service。 DefaultServiceRegistry。 org.gradleでorg.gradle.initialization.DefaultGradleLauncherFactory.newInstance(DefaultGradleLauncherFactory.java:106) でorg.gradle.initialization.DefaultGradleLauncherFactory.doNewInstance(DefaultGradleLauncherFactory.java:174) で(DefaultServiceRegistry.java:325) を取得します。 launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:40)org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.executeでorg.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30) で (BuildTreeScopeBuildActionExecuter。 java:39) at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:25) at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.exe org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.executeでorg.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.executeでかわいい(ContinuousBuildActionExecuter.java:80) (ContinuousBuildActionExecuter.java:53) (ServicesSetupBuildActionExecuter.java: 57) at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter。org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.javaでorg.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.executeで(ServicesSetupBuildActionExecuter.java:32) (GradleThreadBuildActionExecuter.java:36) を実行します。 25)組織におけるorg.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29) でorg.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43) で。プロパティー名。 org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.executeでorg.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:59) でtartParamsValidatingActionExecuter.java:29) (SessionFailureReportingActionExecuter.java:44) org.gradleでorg.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:45) でorg.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:30)で 。 org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)の から をorg.gradle.launcherに配置してください。 daemon.server.api.DaemonComma ndExecution.proceed(DaemonCommandExecution.java:120) at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution。 (DaemonCommandExecution.java:120) でorg.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecutionでorg.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34) でDaemonCommandExecution.java:120) 。 java:120) at org.gradle.launcher.daemon.server.exec.ForwardClientInput $ 2.call (ForwardClientInput.java:74) at org.gradle.launcher.daemon.server.exec.ForwardClientInput $ 2.call(ForwardClientInput.java:72) at org.gradle.util.Swapper.swap(Swapper.java:38) at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120) at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120) at org。 gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:62) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(Bu ildCommandOnly.java:36) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120) at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment。 (DaemonCommandExecution.java:012:0) 120) at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy $ 1.run(StartBuildOrRespondWithBusy.java:50) at org.gradle.launcher.daemon.server.DaemonStateCoordinator $ 1.run(DaemonStateCoordinator.java:295) at org.gradle.internal.concurrent.ExecutorPolicy $ CatchAndRecordFailures.onExecute(ExecutorPolicy。Javaの:63)によって引き起こさorg.gradle.internal.concurrent.ThreadFactoryImpl $ ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) でorg.gradle.internal.concurrent.ManagedExecutorImpl $ 1.run(ManagedExecutorImpl.java:46) で :org.gradle.internal.service.ServiceCreationException:BuildSessionScopeServices.createCrossBuildFileHashCache()を使用してCrossBuildFileHashCache型のサービスを作成できませんでした。 org.gradleでorg.gradle.internal.service.DefaultServiceRegistry $ FactoryService.createでorg.gradle.internal.service.DefaultServiceRegistry $ FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:797) (DefaultServiceRegistry.java:748) で 。内部サービス.DefaultServiceRegistry $ ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574) at org.gradle.internal.service.DefaultServiceRegistry $ SingletonService.get(DefaultServiceRegistry.java:623) at org.gradle.internal.service.DefaultServiceRegistry $ FactoryService.assembleParameters(DefaultServiceRegistry.java:761) at org.gradle.internal.service.DefaultServiceRegistry $ FactoryService.create(DefaultServiceRegistry.java:747) at org.gradle.internal.service.DefaultServiceRegistry $ ManagedObjectProvid org.gradle.internal.service.DefaultServiceRegistry $ SingletonService.get(DefaultServiceRegistry.java:623) (org.gradle.internal.service.DefaultServiceRegistry $ FactoryService.assembleParameters(DefaultServiceRegistry.java:574))の でer.getInstanceを呼び出します。 Javaの:761) org.gradle.internal.service.DefaultServiceRegistry $ ManagedObjectProvider.getInstance(DefaultServiceRegistry.java:574) でのorg.gradle.internal.service.DefaultServiceRegistry $ FactoryService.create(DefaultServiceRegistry.java:747) でorg.gradle.internal.service.DefaultServiceRegistry $ SingletonService.get(DefaultServiceRegistry.java:623) at org.gradle.internal.service.DefaultServiceRegistry.doGet(DefaultServiceRegistry.java:344) at org.gradle.internal.service。 DefaultServiceRegistry。 getService(DefaultServiceRegistry.java:329) at org.gradle.internal.service.DefaultServiceRegistry $ ParentServices.getService(DefaultServiceRegistry.java:1111) at org.gradle.internal.service.DefaultServiceRegistry $ CachingProvider.getService(DefaultServiceRegistry.java:329) 970) at org.gradle.internal.service.DefaultServiceRegistry $ CompositeProvider.getService(DefaultServiceRegistry.java:1034) at org.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContext $ 4.apply(DefaultServiceRegistry.java:1356) at org org.gradle.inteでorg.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContext.getServiceProviderで.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContext $ 4.apply(DefaultServiceRegistry.java:1353) (DefaultServiceRegistry.java:1297) (デフォルトサービス・レジストリ・ジャバ: DefaultServiceRegistry.java:341) at org.gradle.internal.service.DefaultServiceRegistry.get(DefaultServiceRegistry.java:329) at org.gradle.internal.service.DefaultServiceRegistry $ ParentServices.getService(DefaultServiceRegistry.java:1111) at org.gradle.internal.service.DefaultServiceRegistry $ CachingProvider.getService(DefaultServiceRegistry.java:970) at org.gradle.internal.service.DefaultServiceRegistry $ CompositeProvider.getService(DefaultServiceRegistry.java:1034) at org.gradle.internal。サービス。 org.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContext $ 4.applyでDefaultServiceRegistry $ DefaultLookupContext $ 4.apply(DefaultServiceRegistry.java:1356) (DefaultServiceRegistry.java:1353) org.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContextで。 getServiceProvider(DefaultServiceRegistry.java:1297) at org.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContext。(DefaultServiceRegistry.java:1222) をorg.gradle.internal.service.DefaultServiceRegistry $ FactoryService.bind(DefaultServiceRegistry.java:722)で検索します。 at org.gradle.internal.service.DefaultServiceRegistry $ SingletonService.prepare(DefaultServiceRegistry.java:1285) 6235) at org.gradle.internal.service.DefaultServiceRegistry $ SingletonService.getService(DefaultServiceRegistry.java:642) at org.gradle.internal.service.DefaultServiceRegistry $ OwnServices.getService(DefaultServiceRegistry.java:465) at org。 $ service.Report.getService(DefaultServiceRegistry.java:970) at org.gradle.internal.service.DefaultServiceRegistry $ CompositeProvider.getService(DefaultServiceRegistry.java:1034) at org.gradle.internal.service。 DefaultServiceReg org.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContext $ 4.applyでistry $ DefaultLookupContext $ 4.apply(DefaultServiceRegistry.java:1356) (DefaultServiceRegistry.java:1353) org.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContextで。 org.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContext.find(DefaultServiceRegistry.java:1285) の場合、 722 org.gradle.internal.service.DefaultServiceRegistry $ SingletonService.getServiceでorg.gradle.internal.service.DefaultServiceRegistry $ SingletonService.prepare(DefaultServiceRegistry.java:628) (DefaultServiceRegistry.java:642) で) org.gradle.internal.service.DefaultServiceRegistry $ OwnServices.getService(DefaultServiceRegistry.java:465) at org.gradle.internal.service.DefaultServiceRegistry $ CachingProvider.getService(DefaultServiceRegistry.java:970) at org.gradle.internal .service.DefaultServiceRegistry $ CompositeProvider.getService(DefaultServiceRegistry.java:1034) at org.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContext $ 4.apply(DefaultServiceRegistry.java:1356) にあるorg.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContext $ 4.apply(DefaultServiceRegistry.java:1353) at org.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContext.getServiceProvider(DefaultServiceRegistry.java:1297) at org.gradle.internal.service.DefaultServiceRegistry $ DefaultLookupContext.find(DefaultServic ORGでorg.gradle.internal.service.DefaultServiceRegistry.doGet(DefaultServiceRegistry.java:341) でorg.gradle.internal.service.DefaultServiceRegistry.getServiceProvider(DefaultServiceRegistry.java:350) でeRegistry.java:1285) 。プロパティ。 (JavaMethod.java:73) (org.gradle.internal.service.ReflectionBasedServiceMethod.invoke(ReflectionBasedServiceMethod.java:35))で、 at org.gradle.inte rnal.service.DefaultServiceRegistry $ FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:795) ... 60 more 原因:org.gradle.api.UncheckedIOException:親ディレクトリ '/ home/cvllp3/mychain/fabric /の作成に失敗しました。ディレクトリを作成するときにgradle '/home/cvllp3/mychain/fabric/.gradle/4.2/fileHashes' at org.gradle.util.GFileUtils.mkdirs(GFileUtils.java:271) at org.gradle.cache.internal。 DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:56) at org.gradle.cache.internal.DefaultPersistentDirectoryStore.open(DefaultPersistentDirectoryStore.java:32) at org.gradle.cache.internal.DefaultCacheFactory.doOpen(DefaultCacheFactory.java:90) at org.gradle.cache.internal.DefaultCacheFactory.open(DefaultCacheFactory。Javaの:org.gradle.cache.internal.DefaultCacheRepository $ PersistentCacheBuilder.openで64) org.gradle.api.internal.changedetection.state.CrossBuildFileHashCacheで(DefaultCacheRepository.java:123) (CrossBuildFileHashCache.java:41) 。 (JavaMethod.java:73) at org.gradle.internal.service .ReflectionBasedServiceMethod.invoke(ReflectionBasedServiceMethod.java:35)org.gradle.internal.service.DefaultServiceRegistry $ FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:795)で ... 118もっと
ありがとうございます!