gpt4 book ai didi

git - Groovy/Grails工具套件无法在Mac上运行

转载 作者:行者123 更新时间:2023-12-02 16:00:30 25 4
gpt4 key购买 nike

我们有安装了Groovy Grails Tool Suite 3.6.4的MacBook OSX(10.8.5)。当我们导入git项目并尝试运行应用程序时,会出现以下错误:

Description Resource    Path Location   Type
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project lifeflow_ui Unknown Java Problem

那是我们得到的唯一错误信息。是否应该有一个日志文件?我试图寻找.log文件,但没有运气。

最佳答案

此错误意味着您的项目类路径不正确。找不到java.lang.Object。看来您的项目的类路径上没有JRE。我不确定为什么没有自动添加它,但是您只需要自己添加即可。

像这样:

  • 选择项目,右键单击->构建路径->添加库-> JRE系统库
  • 选择要使用
  • 的JRE

    这至少将消除您当前遇到的类路径问题,但可能会发现其他问题。

    关于git - Groovy/Grails工具套件无法在Mac上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31596172/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com