【问题标题】:Grails unable to resolve class org.grails.compiler.injection.TraitInjectionSupportGrails 无法解析类 org.grails.compiler.injection.TraitInjectionSupport
【发布时间】:2016-08-22 19:06:10
【问题描述】:

我已经开始学习 Grails。出于项目特定目的,我在 Ubuntu 中安装了 Grails 3.0.0。每当我在 IDE(IntelliJ) 中启动 grails 项目时。我收到以下错误

| Error Failed to compile idea-list-injected-traits.groovy: startup failed:
idea-list-injected-traits.groovy: 2: unable to resolve class org.grails.compiler.injection.TraitInjectionSupport
 @ line 2, column 1.
   import org.grails.compiler.injection.TraitInjectionSupport
   ^

1 error
 (Use --stack trace to see the full trace)
| Error occurred running Grails CLI: null (Use --stack trace to see the full trace)

Process finished with exit code 1

我该如何解决?我是 Grails 的新手。谢谢。

【问题讨论】:

    标签: java grails grails-3.0


    【解决方案1】:

    尝试删除

    ~/.grails/repository
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-12-30
      • 2012-02-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多