【问题标题】:Can't run grails app on eclipse无法在 Eclipse 上运行 grails 应用程序
【发布时间】:2015-09-13 11:55:48
【问题描述】:

在 Eclipse IDE 中运行 grails 应用程序时遇到一些问题。 在终端一切都很好。

JAVA -version 
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

圣杯 版本:3.0.5 | Groovy 版本:2.4.4 | JVM版本:1.8.0_60

在 Eclipse IDE 上 grails 版本是 2.4.4

这是我得到的错误:

| Error 2015-09-13 15:33:27,072 [Thread-8] ERROR jvm.JVM  - Problems copying constructor. Incompatible JVM?

Message: null
   Line | Method
->> 745 | run in java.lang.Thread
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Caused by IllegalArgumentException: Can not copy a non-root Constructor
->> 745 | run in java.lang.Thread

有人可以帮助我吗?也许我应该在 eclipse 中更改 grails 版本?

【问题讨论】:

  • 你确定eclipse没有使用1.8.0_40吗?我认为那个有问题
  • 您使用的是哪个 grails 版本。我可以看到两件事 Grails 版本:3.0.5 | Groovy 版本:2.4.4 | JVM 版本: 1.8.0_60 和在 Eclipse IDE grails 版本是 2.4.4 。您提到了两个 grails 版本 3.0.5 和 2.4.4,您确定吗?

标签: java eclipse grails groovy


【解决方案1】:

我发现您需要将 Eclipse IDE grails 版本升级到 3.0.5 。它使用的是 2.4.4 版本的 grails。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-11-03
    • 1970-01-01
    • 2014-04-20
    • 2016-07-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多