Problems to use offline-mode

Hi there,

I created an application with the “setting - offline”.
When I assemble the project, and start the application server.
I get this error:

2018-04-08 18:54:48,170 ERROR [com.haulmont.studio.backend.y] Error executing Gradle task(s) 'setupTomcat, deploy, start'
java.lang.RuntimeException: Error occurred during gradle task execution. Task - setupTomcat deploy start
	at com.haulmont.studio.backend.y.a(SourceFile:372)
	at com.haulmont.studio.backend.y.a(SourceFile:54)
	at com.haulmont.studio.backend.z.run(SourceFile:109)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at com.haulmont.studio.common.K.c(SourceFile:54)
	at com.haulmont.studio.common.K.b(SourceFile:72)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.gradle.tooling.BuildException: Could not execute build using Gradle installation 'C:\Gradle\gradle-4.3.1'.

And this is, what I get in terminal:

[18:54:48.177] Task 'setupTomcat, deploy, start' failed
org.gradle.internal.resolve.ModuleVersionResolveException: No cached version of org.apache.tomcat:tomcat:8.5.23 available for offline mode.

Does anybody have an hint how to solve it?

Thanks a lot

Hi.
This problem occurs because you don’t have the local version of Gradle and you have turned on Offline mode. To fix this problem you can turn off Offline mode and start the application.
We have created a YouTrack issue.