openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garpinc <garp...@yahoo.com>
Subject Failing to persist a field where the type is XMLGregorianCalendar.
Date Fri, 20 Jul 2012 12:52:40 GMT
I'm having an issue when trying to persist a field where the type is
XMLGregorianCalendar.

I see a post here
http://vard-lokkur.blogspot.com/2011/04/jpa-and-unmodifiable-collections.html
which seems to show a similar issue. 

Can anyone help me figure out what's going on here?

Getting the following exception at commit time:
java.lang.IllegalAccessError: class
org.apache.openjpa.util.org$apache$xerces$jaxp$datatype$XMLGregorianCalendarImpl$0$proxy
cannot access its superclass
org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at serp.bytecode.BCClassLoader.findClass(BCClassLoader.java:50)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at
org.apache.openjpa.util.GeneratedClasses.loadBCClass(GeneratedClasses.java:67)
at
org.apache.openjpa.util.ProxyManagerImpl.getFactoryProxyBean(ProxyManagerImpl.java:452)
at
org.apache.openjpa.util.ProxyManagerImpl.newCustomProxy(ProxyManagerImpl.java:303)
at
org.apache.openjpa.kernel.SingleFieldManager.proxy(SingleFieldManager.java:133)
at
org.apache.openjpa.kernel.StateManagerImpl.proxyFields(StateManagerImpl.java:2921)
at
org.apache.openjpa.kernel.PNonTransState.initialize(PNonTransState.java:45)
at
org.apache.openjpa.kernel.StateManagerImpl.setPCState(StateManagerImpl.java:294)
at
org.apache.openjpa.kernel.StateManagerImpl.commit(StateManagerImpl.java:1135)



--
View this message in context: http://openjpa.208410.n2.nabble.com/Failing-to-persist-a-field-where-the-type-is-XMLGregorianCalendar-tp7580665.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message