Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » JPOXMappingException: URI <X> does not translate to an eclass
JPOXMappingException: URI <X> does not translate to an eclass [message #620196] Wed, 06 August 2008 18:55
Eclipse UserFriend
Originally posted by:


I've been having pretty good success using Teneo to map a large ecore
model (based on OMG's KDM standard). However, one problem I've had to work
around is my inability to use abstract classes. (To get around this I've
converted all my abstract classes to concrete ones but this is no longer a
reasonable tactic.)

If I create an EReference and specify its EType to be an EClass whose
"abstract" property is "true" I get this error from GenerateJDO :
"JPOXMappingException: URI <X> does not translate to an eclass" where <X>
is the name of the abstract EClass.

This happens even when the abstract EClass has non abstract subclasses.

The simplest example of this can be created by taking the library example
and creating an abstract class Person, making it the superclass of Writer
and changing the EType of a library's Writers to Person.

I'm using Eclipse 3.4, jpox-1.1.9, jdo2 2.0 & bcel-5.2

If anyone has a suggestion for how I can address this, I would appreciate


Rich Fritzson

The stack looks like this:

Aug 6, 2008 2:38:35 PM org.eclipse.emf.teneo.TeneoException <init>
SEVERE: Uri: Person does not translate to an eclass
org.eclipse.emf.teneo.jpox.mapper.JPOXMappingException: Uri: Person does
not translate to an eclass
org.eclipse.emf.teneo.jpox.mapper.MappingUtil.getImplNameOfE Class(
at er.processPersistableMember(
org.eclipse.emf.teneo.jpox.mapper.JPOXMappingGenerator.proce ssClassAnnotation(
org.eclipse.emf.teneo.jpox.mapper.JPOXMappingGenerator.gener ate(
org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.createORMapper File(
org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.createORMapper File(
at org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.main(GenerateJ
Previous Topic:EMF Compare
Next Topic:[ecoretools] Why is my diagram so wide?
Goto Forum:

Current Time: Thu Apr 02 09:44:55 GMT 2020

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

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

Back to the top