![](/img/trans.png)
[英]In Intellij, why must I clean and build the war to see changes when I run Google App Engine locally?
[英]Why are my Google App Engine classes not enhanced when using IntelliJ?
我的项目是用gradle构建的。 如果我从命令行运行测试,则一切正常:
./gradlew test --tests '*.UserTest'
但是,当我尝试从Intelli中运行测试时,由于我的类未得到增强,它无法运行。
javax.jdo.JDOUserException: Persistent class "Class com.example.Foo does not seem to have been enhanced. You may want to rerun the enhancer and check for errors in the output." has no table in the database, but the operation requires it. Please check the specification of the MetaData for this class.
运行appengineEnhance
任务没有任何区别。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.