【问题标题】:Setup Grails application in Google AppEngine在 Google AppEngine 中设置 Grails 应用程序
【发布时间】:2012-12-12 11:06:16
【问题描述】:

我创建了 grails 应用程序并尝试在 google 应用引擎中设置该应用程序。

我遇到了这样的错误

../plugins/app-engine-0.8.10/src/groovy/org/grails/appengine/Log4jConfigListener.groovy: 32: unable to resolve class org.codehaus.groovy.grails.plugins.logging.Log4jConfig
 @ line 32, column 1.
   import org.codehaus.groovy.grails.plugins.logging.Log4jConfig;
   ^

../plugins/app-engine-0.8.10/src/groovy/org/grails/appengine/Log4jConfigListener.groovy: 83: unable to resolve class org.codehaus.groovy.grails.plugins.logging.Log4jConfig 
 @ line 83, column 1.
   class AppEngineLog4jConfig extends org.codehaus.groovy.grails.plugins.logging.Log4jConfig{
   ^

然后我搜了一下,发现“Grails 2.0 或更高版本不支持应用引擎插件”的信息,你可以看到Here

有什么解决办法吗?

【问题讨论】:

    标签: google-app-engine grails groovy grails-plugin


    【解决方案1】:

    尚未针对 Grails 2.x 更新 App Engine 插件。请参阅此question 了解更多信息。

    【讨论】:

    • 是的,如另一个问题的答案中所述。
    • 除了 Gaelyk 文档之外,我在哪里可以获取有关如何从基础使用 Gaelyk 的更多信息。
    • 您所说的“与 Gaelyk 从基地合作”到底是什么意思?
    • 很抱歉,我没有完全理解您的问题。您是否在询问如何从源代码库构建 Gaelyk?如果是这样的话,我认为那里没有太多信息。一个好的起点是从 GitHub 下载源代码并构建发行版。
    • 我很难理解您的问题。我假设您是在询问使用 Gaelyk 构建的示例项目?也许有关如何build a simple CRUD app 的教程会有所帮助。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-10-09
    • 1970-01-01
    • 2023-03-12
    • 1970-01-01
    • 1970-01-01
    • 2013-09-28
    • 1970-01-01
    相关资源
    最近更新 更多