我创建了一个 grails 项目,但它似乎无法识别我安装的插件:
import grails.plugins.neo4j.Neo4jEntity
@Neo4jEntity
class Author {
String name
Date dob
static hasMany = [ books: Book ]
}
这是改成别的了吗?
我最初是这样做的:
grails create-app neo4jtest; cd neo4jtest
grails install-plugin neo4j
grails create-domain-class Author
grails create-domain-class Book
grails create-controller Author
grails create-controller Book