Topic category: Help with MCreator software
Executing
Gradle task: eclipse
Build
info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 8145 MB, Windows 10,
JVM 1.8.0_252, JAVA_HOME: D:\GamesTSG\MCreator\jdk
org.gradle.tooling.GradleConnectionException:
Could not execute build using connection to Gradle distribution
'https://services.gradle.org/distributions/gradle-4.10.3-bin.zip'.
at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(
ExceptionTransformer.java:55
)
at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(
ExceptionTransformer.java:29
)
at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(
ResultHandlerAdapter.java:43
)
at
org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor.lambda$run$0(
DefaultAsyncConsumerActionExecutor.java:64
)
at
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(
ExecutorPolicy.java:64
)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(
ManagedExecutorImpl.java:48
)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1149
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:624
)
at
org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(
ThreadFactoryImpl.java:56
)
at java.lang.Thread.run(
Thread.java:748
)
Caused
by: org.gradle.launcher.daemon.client.DaemonConnectionException: Could not
connect to the Gradle daemon.
Daemon
uid: 47406870-a609-4f55-94e1-0763d1b7ada8 with diagnostics:
Daemon
pid: 16024
log file:
C:\Users\ADMIN\.mcreator\gradle\daemon\4.10.3\daemon-16024.out.log
-----
Last 20 lines from daemon log file - daemon-16024.out.log -----
19:43:52.289
[DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a
loopback interface? false
19:43:52.296
[DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a
multicast interface? true
19:43:52.296
[DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding
loopback multicast interface WAN Miniport (Network Monitor)-WFP Native MAC
Layer LightWeight Filter-0000
19:43:52.296
[DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP
addresses for network interface WAN Miniport (Network Monitor)-QoS Packet
Scheduler-0000
19:43:52.302
[DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a
loopback interface? false
19:43:52.308
[DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a
multicast interface? true
19:43:52.308
[DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding
loopback multicast interface WAN Miniport (Network Monitor)-QoS Packet
Scheduler-0000
19:43:52.311
[DEBUG] [org.gradle.internal.remote.internal.inet.TcpIncomingConnector]
Listening on [cb95fb2c-0a49-4ac8-a9c7-77de90683ea7 port:50807,
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]].
19:43:52.315
[DEBUG] [org.gradle.launcher.daemon.server.Daemon] Daemon starting at: Sat
Oct 17 19:43:52 EEST 2020, with address:
[cb95fb2c-0a49-4ac8-a9c7-77de90683ea7 port:50807, addresses:[/127.0.0.1,
/0:0:0:0:0:0:0:1]]
19:43:52.315
[INFO] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater]
Advertising the daemon address to the clients:
[cb95fb2c-0a49-4ac8-a9c7-77de90683ea7 port:50807, addresses:[/127.0.0.1,
/0:0:0:0:0:0:0:1]]
19:43:52.315
[DEBUG] [org.gradle.launcher.daemon.server.DaemonRegistryUpdater]
Advertised daemon context:
DefaultDaemonContext[uid=47406870-a609-4f55-94e1-0763d1b7ada8,javaHome=D:\GamesTSG\MCreator\jdk,daemonRegistryDir=C:\Users\ADMIN\.mcreator\gradle\daemon,pid=16024,idleTimeout=10800000,daemonOpts=-Xms625m,-Xmx2048m,-Dfile.encoding=windows-1251,-Duser.country=RU,-Duser.language=ru,-Duser.variant]
19:43:52.316
[DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry]
Storing daemon address: [cb95fb2c-0a49-4ac8-a9c7-77de90683ea7 port:50807,
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], context:
DefaultDaemonContext[uid=47406870-a609-4f55-94e1-0763d1b7ada8,javaHome=D:\GamesTSG\MCreator\jdk,daemonRegistryDir=C:\Users\ADMIN\.mcreator\gradle\daemon,pid=16024,idleTimeout=10800000,daemonOpts=-Xms625m,-Xmx2048m,-Dfile.encoding=windows-1251,-Duser.country=RU,-Duser.language=ru,-Duser.variant]
19:43:52.330
[DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to
acquire exclusive lock on daemon addresses registry.
19:43:52.333
[DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired
on daemon addresses registry.
19:43:52.340
[DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock
on daemon addresses registry.
19:43:52.342
[LIFECYCLE] [org.gradle.launcher.daemon.server.Daemon] Daemon server
started.
19:43:52.343
[DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonStartupCommunication]
Completed writing the daemon greeting. Closing streams...
19:43:52.354
[DEBUG] [org.gradle.launcher.daemon.server.Daemon] stopOnExpiration()
called on daemon
19:43:52.355
[DEBUG] [org.gradle.launcher.daemon.server.Daemon] awaitExpiration()
called on daemon
19:43:52.356
[DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon
is running. Sleeping until state changes.
-----
End of the daemon log -----
at
org.gradle.launcher.daemon.client.DefaultDaemonConnector.connectToDaemonWithId(
DefaultDaemonConnector.java:252
)
at
org.gradle.launcher.daemon.client.DefaultDaemonConnector.doStartDaemon(
DefaultDaemonConnector.java:217
)
at org.gradle.launcher.daemon.client.DefaultDaemonConnector.startDaemon(
DefaultDaemonConnector.java:206
)
at org.gradle.launcher.daemon.client.DefaultDaemonConnector.connect(
DefaultDaemonConnector.java:130
)
at org.gradle.launcher.daemon.client.DaemonClient.execute(
DaemonClient.java:139
)
at org.gradle.launcher.daemon.client.DaemonClient.execute(
DaemonClient.java:93
)
at
org.gradle.tooling.internal.provider.DaemonBuildActionExecuter.execute(
DaemonBuildActionExecuter.java:60
)
at
org.gradle.tooling.internal.provider.DaemonBuildActionExecuter.execute(
DaemonBuildActionExecuter.java:41
)
at
org.gradle.tooling.internal.provider.LoggingBridgingBuildActionExecuter.execute(
LoggingBridgingBuildActionExecuter.java:58
)
at
org.gradle.tooling.internal.provider.LoggingBridgingBuildActionExecuter.execute(
LoggingBridgingBuildActionExecuter.java:37
)
at org.gradle.tooling.internal.provider.ProviderConnection.run(
ProviderConnection.java:180
)
at org.gradle.tooling.internal.provider.ProviderConnection.run(
ProviderConnection.java:124
)
at org.gradle.tooling.internal.provider.DefaultConnection.getModel(
DefaultConnection.java:208
)
at
org.gradle.tooling.internal.consumer.connection.CancellableModelBuilderBackedModelProducer.produceModel(
CancellableModelBuilderBackedModelProducer.java:54
)
at
org.gradle.tooling.internal.consumer.connection.PluginClasspathInjectionSupportedCheckModelProducer.produceModel(
PluginClasspathInjectionSupportedCheckModelProducer.java:38
)
at
org.gradle.tooling.internal.consumer.connection.AbstractConsumerConnection.run(
AbstractConsumerConnection.java:64
)
at
org.gradle.tooling.internal.consumer.connection.ParameterValidatingConsumerConnection.run(
ParameterValidatingConsumerConnection.java:49
)
at org.gradle.tooling.internal.consumer.DefaultBuildLauncher$1.run(
DefaultBuildLauncher.java:97
)
at org.gradle.tooling.internal.consumer.DefaultBuildLauncher$1.run(
DefaultBuildLauncher.java:89
)
at
org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(
LazyConsumerActionExecutor.java:130
)
at
org.gradle.tooling.internal.consumer.connection.CancellableConsumerActionExecutor.run(
CancellableConsumerActionExecutor.java:45
)
at
org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(
ProgressLoggingConsumerActionExecutor.java:61
)
at
org.gradle.tooling.internal.consumer.connection.RethrowingErrorsConsumerActionExecutor.run(
RethrowingErrorsConsumerActionExecutor.java:38
)
at
org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor.lambda$run$0(
DefaultAsyncConsumerActionExecutor.java:62
)
... 6 more
Caused
by: org.gradle.internal.remote.internal.ConnectException: Could not
connect to server [cb95fb2c-0a49-4ac8-a9c7-77de90683ea7 port:50807,
addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]]. Tried addresses: [/127.0.0.1,
/0:0:0:0:0:0:0:1].
at org.gradle.internal.remote.internal.inet.TcpOutgoingConnector.connect(
TcpOutgoingConnector.java:66
)
at
org.gradle.launcher.daemon.client.DefaultDaemonConnector.connectToDaemon(
DefaultDaemonConnector.java:264
)
at
org.gradle.launcher.daemon.client.DefaultDaemonConnector.connectToDaemonWithId(
DefaultDaemonConnector.java:250
)
... 29 more
Caused
by: java.net.SocketException: Permission denied: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(
SocketChannelImpl.java:714
)
at sun.nio.ch.SocketAdaptor.connect(
SocketAdaptor.java:122
)
at
org.gradle.internal.remote.internal.inet.TcpOutgoingConnector.tryConnect(
TcpOutgoingConnector.java:80
)
at org.gradle.internal.remote.internal.inet.TcpOutgoingConnector.connect(
TcpOutgoingConnector.java:53
)
... 31 more
TASK
EXECUTION FAILED
Task
completed in 4153 milliseconds
What I need to do?
The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.