开发者

Grails GoogleAppEngine no metadata problem

I am trying to run grails on google app engine using JDO, but I got this:

org.codehaus.groovy.runtime.InvokerInvocationException: javax.jdo.JDOFatalUserException: No meta data for Book. Perhaps you need to run the enhancer on this class? NestedThrowables: org.datanuc开发者_JAVA百科leus.exceptions.NucleusUserException: No meta data for Book. Perhaps you need to run the enhancer on this class?

I am confused, because when I did "grails app-engine package" it looks like the DataNucleus enhancer was running.

How can I fix this?

Thanks


Trivial fix, I just have to put the domain class into a package, i.e. grails create-domain-class packageName.Book

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜