Fork me on GitHub
#cursive
<
2019-02-03
>
cfleming06:02:16

@abdusalam That’s usually because your clojure install isn’t configured correctly. Check that it all looks ok at Settings-&gt;Build, Execution and Deployment-&gt;Build Tools-&gt;Clojure Deps. When it’s properly configured there, try refreshing the project in the Deps toolwindow, hopefully that will fix the issue.

cfleming06:02:26

There’s better validation for all this in the latest EAP.

salam16:02:30

hmm... the latest eap didn't make any change to the clojure dpes settings page (i took before/after screenshots and there's no difference). NoClassDefFoundError seems to be gone though. starting a repl with options "clojure.main" and "run with deps" still hangs the ide with the following log entry in idea.log:

2019-02-03 08:22:45,416 [ 342079]   INFO -             #cursive.shim.Shim - Bootstrap loader cannot load RT

salam16:02:31

starting a repl with options "clojure.main" and "run with intellij classpath" hangs the ide with the following in idea.log:

2019-02-03 08:19:31,785 [ 148448]   WARN - n.process.BaseOSProcessHandler - Process hasn't generated any output for a long time.
If it's a long-running mostly idle daemon process, consider overriding OSProcessHandler#readerOptions with 'BaseOutputReader.Options.forMostlySilentProcess()' to reduce CPU usage.
Command line: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b13-0.fc29.x86_64/jre/bin/java -Djava.awt.headless=true -Dsun.rmi.transport.connectionTimeout=3600000 -Dexternal.system.id=CLOJURE_DEPS -Dfile.encoding=UTF-8 -classpath /home/finalfantasia/apps/idea-IC-183.3975.18/lib/resources_en.jar:/home/finalfantasia/apps/idea-IC-183.3975.18/lib/java_resources_en.jar:/home/finalfantasia/apps/idea-IC-183.3975.18/lib/trove4j.jar:/home/finalfantasia/apps/idea-IC-183.3975.18/lib/annotations.jar:/home/finalfantasia/apps/idea-IC-183.3975.18/lib/oro-2.0.8.jar:/home/finalfantasia/apps/idea-IC-183.3975.18/lib/jna.jar:/home/finalfantasia/apps/idea-IC-183.3975.18/lib/log4j.jar:/home/finalfantasia/apps/idea-IC-183.3975.18/lib/lz4-1.3.0.jar:/home/finalfantasia/apps/idea-IC-183.3975.18/lib/jdom.jar:/home/finalfantasia/apps/idea-IC-183.3975.18/lib/jna-platform.jar:/home/finalfantasia/apps/idea-IC-183.3975.18/lib/util.jar:/home/finalfantasia/apps/idea-IC-183.3975.18/lib/platform-api.jar:/home/finalfantasia/apps/idea-IC-183.3975.18 ...
 
java.lang.Throwable: Process creation:
	at com.intellij.execution.process.BaseOSProcessHandler.<init>(BaseOSProcessHandler.java:34)
	at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:89)
	at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:44)
	at com.intellij.openapi.externalSystem.service.RemoteExternalSystemCommunicationManager$2.startProcess(RemoteExternalSystemCommunicationManager.java:195)
	at com.intellij.openapi.externalSystem.service.RemoteExternalSystemCommunicationManager$2.execute(RemoteExternalSystemCommunicationManager.java:186)
	at com.intellij.execution.rmi.RemoteProcessSupport.startProcess(RemoteProcessSupport.java:212)
	at com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:139)
	at com.intellij.openapi.externalSystem.service.RemoteExternalSystemCommunicationManager.acquire(RemoteExternalSystemCommunicationManager.java:210)
	at com.intellij.openapi.externalSystem.service.ExternalSystemFacadeManager.doCreateFacade(ExternalSystemFacadeManager.java:187)
	at com.intellij.openapi.externalSystem.service.ExternalSystemFacadeManager.doGetFacade(ExternalSystemFacadeManager.java:176)
	at com.intellij.openapi.externalSystem.service.ExternalSystemFacadeManager.doInvoke(ExternalSystemFacadeManager.java:132)
	at com.intellij.openapi.externalSystem.service.ExternalSystemFacadeManager$MyHandler.invoke(ExternalSystemFacadeManager.java:268)
	at com.sun.proxy.$Proxy79.getResolver(Unknown Source)
	at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.doExecute(ExternalSystemResolveProjectTask.java:84)
	at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:166)
	at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:152)
	at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3.execute(ExternalSystemUtil.java:554)
	at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$4.run(ExternalSystemUtil.java:650)
	at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:727)
(log truncated due to character count limit)

salam16:02:59

the same with starting a repl with nrepl, with only the following log entry:

2019-02-03 08:38:00,313 [  25371]   INFO -            #cursive.repl.nrepl - Shutting down REPL executor 

salam16:02:03

very strange...

salam16:02:02

on the other hand, clj works just fine.