> Thanks for the feedback. I'll pass this back along to the Spring folks. I > thought I had to have > all of my Spring related issues handled, thus, thought it was an OpenJPA > issue (due to where > the error was stemming from).
Sounds good. FTR, I expect that there is some sort of interplay between Spring's weavers and OpenJPA here; OpenJPA is probably making assumptions about classloader structure or granularity that are invalid in the context of certain load-time weaving approaches. -Patrick On Feb 12, 2008 10:11 AM, <[EMAIL PROTECTED]> wrote: > Patrick, > > Thanks for the feedback. I'll pass this back along to the Spring folks. I > thought I had to have all of my Spring related issues handled, thus, thought > it was an OpenJPA issue (due to where the error was stemming from). > > Thanks! > Randy > > > > > From: "Patrick Linskey" <[EMAIL PROTECTED]> > > Date: 2008/02/12 Tue PM 12:02:19 CST > > To: users@openjpa.apache.org > > Subject: Re: Can't weave entity in Spring > > > > Hi, > > > > I'm guessing that the ReflectiveLoadTimeWeaver is causing some sort of > > classloader-hierarchy problems, such that when OpenJPA analyzes your > > fields that use native Java types, the type comparison logic fails. > > This is the second time I've seen this sort of issue, but sadly I'm > > not a Spring load-time weaver expert. > > > > -Patrick > > > > On Feb 11, 2008 7:35 AM, <[EMAIL PROTECTED]> wrote: > > > Hello all, > > > > > > I'm having a small problem with entities while deploying OpenJPA 1.0.1 on > > > a Spring 2.5.1 based Tomcat 6 server using an embedded Derby database. > > > > > > The exception I'm getting is: > > > SEVERE: Exception sending context initialized event to listener instance > > > of class org.springframework.web.context.ContextLoaderListener > > > java.lang.IllegalStateException: Could not weave class > > > [org/whitetail/sawhorse/model/Configuration] > > < SNIP > > > > > > > > > > -- > > > Patrick Linskey > > 202 669 5907 > > > > -- Patrick Linskey 202 669 5907