![](/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.