`

Google App Engine DataNucleus “does not seem to have been enhanced” Issue

阅读更多

I got DataNucleus exception while developing a Google App Engine based Web Application for one of my office clients. Here is the error message.

"Class com.xxxxx.xxxxx.domain.XXXXXUser 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. at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:375) at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:252)

 
NestedThrowablesStackTrace:

Persistent class "Class com.xxxxx.xxxxx.domain.XXXXXUser 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. org.datanucleus.store.exceptions.NoTableManagedException: Persistent class "Class com.xxxxx.xxxxx.domain.XXXXXUser 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.

 
Every time when i am getting the latest version form version control, GAE shows the error. As a solution I had to cut and paste all persistent classes. There were about 30 persistent(Domain) classes.
Finally I found the solution for this issue. There is a special configuration in GAE eclipse plug-in which need to be done, to run the datanucleus enhancer.

Go to:
Project Settings -> Google -> App Engine -> ORM

Then remove default value(src/) and configure the source path to persistent file or folder like this:


分享到:
评论

相关推荐

    Google App Engine for Java 中文指南

    Google App Engine for Java 是一个平台,允许开发者使用Java语言构建并托管网络应用程序,该平台运行在Google的强大可扩展基础设施上。这个平台的核心特性是它的Java运行时环境,它基于Java 6虚拟机(JVM),并且...

    初用Google App Engine for Java (org.apache.jasper.JasperExceptio; org.datanucleun)

    标题中的“初用Google App Engine for Java”表明我们要探讨的是如何使用Google的App Engine平台来开发Java应用程序。Google App Engine是一个基于云计算的平台,它允许开发者构建和运行Web应用程序,无需管理和维护...

    配置 google app 配置 spring. 配置jdo

    3. **配置 JDO**:添加JDO库依赖,比如Google的`appengine-api-1.0-sdk`和`datanucleus-jdo`、`datanucleus-api-jdo`。在`appengine-web.xml`中启用JDO支持,配置数据存储选项。 4. **创建数据模型**:定义JDO实体...

    datanucleus-api-jdo-3.2.6-API文档-中文版.zip

    赠送jar包:datanucleus-api-jdo-3.2.6.jar; 赠送原API文档:datanucleus-api-jdo-3.2.6-javadoc.jar; 赠送源代码:datanucleus-api-jdo-3.2.6-sources.jar; 赠送Maven依赖信息文件:datanucleus-api-jdo-3.2.6....

    DataNucleus JPA/JDO访问mysql示例

    在这个示例中,我们将探讨如何使用DataNucleus框架通过Java Persistence API (JPA) 和 Java Data Objects (JDO) 访问MySQL数据库。DataNucleus是一个开源的持久性框架,它支持多种持久化标准,包括JPA和JDO,提供了...

    datanucleus-rdbms-3.2.9-API文档-中文版.zip

    赠送jar包:datanucleus-rdbms-3.2.9.jar; 赠送原API文档:datanucleus-rdbms-3.2.9-javadoc.jar; 赠送源代码:datanucleus-rdbms-3.2.9-sources.jar; 赠送Maven依赖信息文件:datanucleus-rdbms-3.2.9.pom; ...

    datanucleus-core-3.2.10-API文档-中文版.zip

    赠送jar包:datanucleus-core-3.2.10.jar; 赠送原API文档:datanucleus-core-3.2.10-javadoc.jar; 赠送源代码:datanucleus-core-3.2.10-sources.jar; 赠送Maven依赖信息文件:datanucleus-core-3.2.10.pom; ...

    datanucleus-api-jdo-3.2.6.jar )

    datanucleus-api-jdo-3.2.6.jar )

    datanucleus-rdbms-4.1.7-API文档-中英对照版.zip

    赠送jar包:datanucleus-rdbms-4.1.7.jar; 赠送原API文档:datanucleus-rdbms-4.1.7-javadoc.jar; 赠送源代码:datanucleus-rdbms-4.1.7-sources.jar; 赠送Maven依赖信息文件:datanucleus-rdbms-4.1.7.pom; ...

    datanucleus-core-3.2.10.jar

    datanucleus-core-3.2.10.jar 下载。datanucleus-core-3.2.10.jar 下载。datanucleus-core-3.2.10.jar 下载。

    datanucleus-api-jdo-4.2.1-API文档-中英对照版.zip

    赠送jar包:datanucleus-api-jdo-4.2.1.jar; 赠送原API文档:datanucleus-api-jdo-4.2.1-javadoc.jar; 赠送源代码:datanucleus-api-jdo-4.2.1-sources.jar; 赠送Maven依赖信息文件:datanucleus-api-jdo-4.2.1....

    maven-datanucleus-plugin-2.0.0-m2.jar

    maven-datanucleus-plugin-2.0.0-m2.jar

    plugin.xml 是对datanucleus的jar包合并的资源文件

    plugin.xml 是对datanucleus的jar包合并的资源文件,在对spark sql项目打包时,datanucleus自身配置文件文件重复而不能正常合并

    maven-datanucleus-plugin-2.0.0-release.jar

    maven-datanucleus-plugin-2.0.0-release.jar

    docs-datanucleus:datanucleus.org网站

    docs-datanucleus 该项目提供了网站的文档。 在v5.0及更高版本中,此版本使用了Maven“站点”插件和“ docs-datanucleus-skin”作为站点主题。 在5.1及更高版本中,它利用了AsciiDoc和Maven asciidoctor插件。 该...

    datanucleus-core-4.1.6-API文档-中英对照版.zip

    赠送jar包:datanucleus-core-4.1.6.jar; 赠送原API文档:datanucleus-core-4.1.6-javadoc.jar; 赠送源代码:datanucleus-core-4.1.6-sources.jar; 赠送Maven依赖信息文件:datanucleus-core-4.1.6.pom; 包含...

    datanucleus-tests:dCache 中特定 DataNucleus 用例的测试

    datanucleus-测试dCache 中特定 DataNucleus 用例的测试。 (1) ----------------------------------------------- --------------------------- 测试用例 EnhancerHelperTest1EnhancerHelperTest2演示在与对象使用...

    datanucleus-spatial-3.2.3.zip

    《DataNucleus Spatial 3.2.3与Druid JDBC数据源的深度解析》 在IT领域,数据管理和高效的数据访问是至关重要的。这里我们将深入探讨两个关键组件:DataNucleus Spatial 3.2.3和Druid数据源。它们都是开源项目,为...

    docs-accessplatform:DataNucleus AccessPlatform文档

    docs-accessplatform Maven项目提供了DataNucleus AccessPlatform文档,可从在线在v4.2及更高版本中,此版本使用Maven“站点”插件和“ docs-datanucleus-skin”来主题化站点。 在5.0版及更高版本中,它利用了...

Global site tag (gtag.js) - Google Analytics