TopLink to EclipseLink migration - Missing class for indicator field value -
i migrating toplink 11g eclipselink 12.1.3. have eclipselink.jar classpath. have few mapping xml files. when executing application, getting following error.
exception [eclipselink-9005] (eclipse persistence services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.sessionloaderexception exception description: exception thrown while loading project-xml file [meta-inf/business.xml]. internal exception: exception [eclipselink-43] (eclipse persistence services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.descriptorexception exception description: missing class indicator field value [toplink:object-type-mapping] of type [class java.lang.string]. descriptor: xmldescriptor(org.eclipse.persistence.mappings.databasemapping --> [databasetable(attribute-mapping)]).
how resolve this.
you required run package renamers etc described here http://docs.oracle.com/middleware/1212/toplink/tladg/migrnativetoplink.htm
if have run package renamer tools already, search project.xml file toplink:object-type-mapping string apparently wasn't converted correctly , logs running renaming tool determine why wasn't converted.
Comments
Post a Comment