Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » no implementation classes of "java.lang.Object" have been found!
no implementation classes of "java.lang.Object" have been found! [message #608589] Mon, 25 June 2007 22:11
Julia is currently offline JuliaFriend
Messages: 85
Registered: July 2009
Member
Hi Martin,

I'm using jpox 1.1.8 with DB2 v9

I'm getting this error when I try to create the schema for a xsd. Is it
saying that it can't find some jdk classes? That I need to add it to the
classpath?

Julia


Exception in thread "main" javax.jdo.JDOUserException: Field
" com.ibm.isclite.wccm.clientevent.impl.PortletDefinitionRefIm pl.supportedPublishingEvent "
is declared as a reference type (interface/Object) but no implementation
classes of "java.lang.Object" have been found!
at
org.jpox.metadata.MetaDataUtils.getImplementationNamesForRef erenceField(MetaDataUtils.java:441)
at
org.jpox.metadata.AbstractPropertyMetaData.setRelation(Abstr actPropertyMetaData.java:1959)
at
org.jpox.metadata.AbstractPropertyMetaData.getRelatedFieldMe taData(AbstractPropertyMetaData.java:2147)
at
org.jpox.store.rdbms.sqlidentifier.JPOXIdentifierFactory.new DatastoreContainerIdentifier(JPOXIdentifierFactory.java:132)
at
org.jpox.store.rdbms.RDBMSManager.getTableIdentifier(RDBMSMa nager.java:2315)
at org.jpox.store.rdbms.RDBMSManager.access$6100(RDBMSManager.j ava:165)
at
org.jpox.store.rdbms.RDBMSManager$ClassAdder.addJoinTableFor Container(RDBMSManager.java:3368)
at
org.jpox.store.rdbms.RDBMSManager$ClassAdder.access$700(RDBM SManager.java:2470)
at
org.jpox.store.rdbms.RDBMSManager.newJoinDatastoreContainerO bject(RDBMSManager.java:1033)
at
org.jpox.store.mapping.AbstractContainerMapping.initialize(A bstractContainerMapping.java:102)
at
org.jpox.store.mapping.MappingFactory.createMapping(MappingF actory.java:88)
at
org.jpox.store.mapping.AbstractMappingManager.getMapping(Abs tractMappingManager.java:231)
at
org.jpox.store.rdbms.table.ClassTable.addFieldMetaData(Class Table.java:458)
at org.jpox.store.rdbms.table.ClassTable.manageClass(ClassTable .java:397)
at
org.jpox.store.rdbms.RDBMSManager$ClassAdder.initializeClass Tables(RDBMSManager.java:2966)
at
org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesA ndValidate(RDBMSManager.java:3311)
at
org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManage r.java:2554)
at
org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RD BMSManager.java:2406)
at org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.ja va:821)
at
org.eclipse.emf.teneo.jpox.JpoxDataStore.createSchema(JpoxDa taStore.java:468)
at
org.eclipse.emf.teneo.jpox.JpoxDataStore.initialize(JpoxData Store.java:196)
at com.ibm.isclite.wccm.clientevent.Tutorial2.main(Tutorial2.ja va:99)


The section of the jdo for hte above
" com.ibm.isclite.wccm.clientevent.impl.PortletDefinitionRefIm pl.supportedPublishingEvent "
looks like this:

<class
name=" com.ibm.isclite.wccm.clientevent.impl.PortletDefinitionRefIm pl "
requires-extent="true" persistence-modifier="persistence-capable"
detachable="true" identity-type="datastore">
<implements name="com.ibm.isclite.wccm.clientevent.PortletDefinitionRef "/>
<inheritance strategy="superclass-table">
<discriminator value="PortletDefinitionRef"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="supportedPublishingEvent" persistence-modifier="persistent">
<collection element-type="java.lang.Object">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<join/>
<order column="PORTLETDEFINITIONREF_SUPPORTEDPUBLISHINGEVENT_IDX"/ >
</field>
<field name="supportedSubscribedEvent" persistence-modifier="persistent">
<collection element-type="java.lang.Object">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<join/>
<order column="PORTLETDEFINITIONREF_SUPPORTEDSUBSCRIBEDEVENT_IDX"/ >
</field>
<field name="portletDefinitionRef" persistence-modifier="persistent"
null-value="none"/>
</class>
Previous Topic:CDO=R(DB)CP ?
Next Topic:Undo of RecordingCommand is done in a strange order...
Goto Forum:
  


Current Time: Mon Jan 25 14:18:24 GMT 2021

Powered by FUDForum. Page generated in 0.01828 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top