Community
Participate
Working Groups
Using Websphere v6.1 JRE Teneo's ECoreDataTypes.java expects to find the class XMLGregorianCalendarImpl in the package com.sun.org.apache.xerces.internal.jaxp.datatype. In the 6.1 JRE, this class has been moved to package org.apache.xerces.jaxp.datatype. Running Teneo with the v6.1 JRE results in a NoClassDefFoundError. Stack trace follows: java.lang.NoClassDefFoundError: com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl at java.lang.J9VMInternals.verifyImpl (Native Method) at java.lang.J9VMInternals.verify (J9VMInternals.java:59) at java.lang.J9VMInternals.initialize (J9VMInternals.java:120) at org.eclipse.emf.teneo.hibernate.annotations.HbEDataTypeAnnotator.getCustomDataType(HbEDataTypeAnnotator.java:88) at org.eclipse.emf.teneo.hibernate.annotations.HbEDataTypeAnnotator.annotate(HbEDataTypeAnnotator.java:52) at org.eclipse.emf.teneo.hibernate.annotations.mapper.AnnotationGenerator.processPackage(AnnotationGenerator.java:151) at org.eclipse.emf.teneo.hibernate.annotations.mapper.AnnotationGenerator.map(AnnotationGenerator.java:124) at org.eclipse.emf.teneo.hibernate.annotations.mapper.PersistenceMappingBuilder.buildMapping(PersistenceMappingBuilder.java:130) at org.eclipse.emf.teneo.hibernate.HbDataStore.mapEPackages(HbDataStore.java:548) at org.eclipse.emf.teneo.hibernate.HbSessionDataStore.mapModel(HbSessionDataStore.java:170) at org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initialize(HbSessionDataStore.java:78) at org.eclipse.emf.teneo.hibernate.HbSessionDataStore.getSessionFactory(HbSessionDataStore.java:196) at samplePgm(samplePgm.java:48)
Created attachment 85768 [details] Use DatatypeFactory to construct XMLGregorianCalendar. http://dev.eclipse.org/newslists/news.eclipse.technology.emft/msg04139.html
Alexandros, thanks for the contribution. Patch has been committed. This will be in the next build. gr. Martin
Solution in build 0.8.0.I200712280940 gr. Martin
Move to verified as per bug 206558.