尝试运行新的芭蕾舞女演员项目时出现IOException

问题描述

工具:

  • MacOS 10.15.6
  • 芭蕾舞女演员发行版slp4
  • IntelliJ IDEA 2020.2.3
  • 芭蕾舞女演员插件1.2.8

我在IntelliJ中创建了一个新的Ballerina项目,然后添加了一个名为main的模块,其中包含一个文件main.bal

main.bal包含一个main()函数。

单击它旁边的绿色箭头,将显示以下输出:

/usr/local/Cellar/ballerina/1.2.8/libexec/distributions/ballerina-slp4/bin/ballerina run --sourceroot /Users/me/ballerina/my-project main
Compiling source
    me/main:0.1.0

Creating balos
    target/balo/main-2020r2-any-0.1.0.balo
    target/bin/main.jar

Running executables

error: Error occurred while running the executable java.io.IOException: error=2,No such file or directory

Process finished with exit code 1

打开终端窗口并执行ballerina run main时也会发生同样的事情。

可能是什么原因造成的?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)