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 -> ORMThen remove default value(
src/) and configure the source path to persistent file or folder like this:
分享到:
相关推荐
Google App Engine for Java 是一个平台,允许开发者使用Java语言构建并托管网络应用程序,该平台运行在Google的强大可扩展基础设施上。这个平台的核心特性是它的Java运行时环境,它基于Java 6虚拟机(JVM),并且...
标题中的“初用Google App Engine for Java”表明我们要探讨的是如何使用Google的App Engine平台来开发Java应用程序。Google App Engine是一个基于云计算的平台,它允许开发者构建和运行Web应用程序,无需管理和维护...
3. **配置 JDO**:添加JDO库依赖,比如Google的`appengine-api-1.0-sdk`和`datanucleus-jdo`、`datanucleus-api-jdo`。在`appengine-web.xml`中启用JDO支持,配置数据存储选项。 4. **创建数据模型**:定义JDO实体...
赠送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框架通过Java Persistence API (JPA) 和 Java Data Objects (JDO) 访问MySQL数据库。DataNucleus是一个开源的持久性框架,它支持多种持久化标准,包括JPA和JDO,提供了...
赠送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; ...
赠送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 )
赠送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 下载。
赠送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
plugin.xml 是对datanucleus的jar包合并的资源文件,在对spark sql项目打包时,datanucleus自身配置文件文件重复而不能正常合并
maven-datanucleus-plugin-2.0.0-release.jar
docs-datanucleus 该项目提供了网站的文档。 在v5.0及更高版本中,此版本使用了Maven“站点”插件和“ docs-datanucleus-skin”作为站点主题。 在5.1及更高版本中,它利用了AsciiDoc和Maven asciidoctor插件。 该...
赠送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-测试dCache 中特定 DataNucleus 用例的测试。 (1) ----------------------------------------------- --------------------------- 测试用例 EnhancerHelperTest1EnhancerHelperTest2演示在与对象使用...
《DataNucleus Spatial 3.2.3与Druid JDBC数据源的深度解析》 在IT领域,数据管理和高效的数据访问是至关重要的。这里我们将深入探讨两个关键组件:DataNucleus Spatial 3.2.3和Druid数据源。它们都是开源项目,为...
docs-accessplatform Maven项目提供了DataNucleus AccessPlatform文档,可从在线在v4.2及更高版本中,此版本使用Maven“站点”插件和“ docs-datanucleus-skin”来主题化站点。 在5.0版及更高版本中,它利用了...