datanucleus-jodatime:未能在google appengine中添加记录

时间:2014-08-19 13:55:52

标签: google-app-engine jodatime datanucleus

我正在使用JPA(要求因此未使用低级API或Objectify)与Google应用引擎。它适用于Java实用日期,但不适用于Jodatime,我收到此错误消息:

[INFO] 14:29:08,836 ERROR 947474820@qtp-410885064-0 Persistence:error:115 - User-defined type mapping class "org.datanucleus.store.rdbms.mapping.JodaDateTimeMapping" was not found. Please check the mapping file class specifications and your CLASSPATH. The class must be in the CLASSPATH.

[INFO] 14:29:08,841 ERROR 947474820@qtp-410885064-0 Persistence:error:115 - User-defined type mapping class "org.datanucleus.store.rdbms.mapping.JodaLocalDateMapping" was not found. Please check the mapping file class specifications and your CLASSPATH. The class must be in the CLASSPATH.

[INFO] 14:29:08,847 ERROR 947474820@qtp-410885064-0 Persistence:error:115 - User-defined type mapping class "org.datanucleus.store.rdbms.mapping.JodaLocalTimeMapping" was not found. Please check the mapping file class specifications and your CLASSPATH. The class must be in the CLASSPATH.

[INFO] 14:29:08,852 ERROR 947474820@qtp-410885064-0 Persistence:error:115 - User-defined type mapping class "org.datanucleus.store.rdbms.mapping.JodaDurationMapping" was not found. Please check the mapping file class specifications and your CLASSPATH. The class must be in the CLASSPATH.

[INFO] 14:29:08,858 ERROR 947474820@qtp-410885064-0 Persistence:error:115 - User-defined type mapping class "org.datanucleus.store.rdbms.mapping.JodaIntervalMapping" was not found. Please check the mapping file class specifications and your CLASSPATH. The class must be in the CLASSPATH.

[INFO] 14:29:08,862 ERROR 947474820@qtp-410885064-0 Persistence:error:115 - User-defined type mapping class "org.datanucleus.store.rdbms.mapping.JodaPeriodMapping" was not found. Please check the mapping file class specifications and your CLASSPATH. The class must be in the CLASSPATH.

1 个答案:

答案 0 :(得分:0)

所以你没有把datanucleus-jodatime jar放在你的CLASSPATH中。 选择适合您的GAE版本的版本