【发布时间】:2012-08-15 08:57:09
【问题描述】:
我在 IntellijIDEA 11.1.3 中创建了新的 Grails 项目并尝试运行它。
当我打开http://localhost:8080/application/dbdoc(访问控制器grails.plugin.databasemigration.DbdocController的默认操作)时,我不断收到消息:
Changelog changelog.groovy not found
虽然,文件changelog.groovy 存在于我的项目的文件系统中的文件夹./grails-app/migrations 中。我已经生成了它,使用命令:
grails dbm-create-changelog changelog.groovy
现在它有以下内容:
databaseChangeLog = {
changeSet(author: "Edward (generated)", id: "changelog") {
// TODO add changes and preconditions here
}
}
我需要做什么才能让它工作?
【问题讨论】:
标签: java grails intellij-idea migration changelog