You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Pinaki Poddar <pp...@bea.com> on 2007/04/03 04:13:22 UTC

RE: Errors with 0.9.7 and Spring

Spring 2.0.3 can load openjpa provider runtime via
org.springframework.orm.jpa.LocalEntityManagerFactoryBean with latest
openjpa-0.9.7.

Please post stack trace and spring/jpa configuration for further
investigation.
 


Pinaki Poddar
BEA Systems
415.402.7317  


-----Original Message-----
From: Patrick Linskey [mailto:plinskey@bea.com] 
Sent: Monday, April 02, 2007 3:23 PM
To: open-jpa-dev@incubator.apache.org
Subject: RE: Errors with 0.9.7

> I checked the 0.9.7 openjpa.jar and found ProxyArrayList, 
> ProxyHashSet, ProxyHashMap are all missing.  Is this a problem with 
> 0.9.7 build?

Not as such -- those classes are no longer part of the OpenJPA
distribution. OpenJPA now does collection and map proxying through
different means.

Can you post the full stack trace? It sounds like we need to coordinate
with the Spring guys on this dependency.

-Patrick

--
Patrick Linskey
BEA Systems, Inc. 

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it. 

> -----Original Message-----
> From: yangdq [mailto:dingqiang_yang@yahoo.com]
> Sent: Monday, April 02, 2007 12:22 PM
> To: open-jpa-dev@incubator.apache.org
> Subject: Errors with 0.9.7
> 
> 
> I downloaded the openjpa 0.9.7 nightly build to replace my current 
> 0.9.6 version.  After that, all my unit tests failed with the 
> following exception:
> 
> org.springframework.beans.factory.BeanCreationException: 
> Error creating bean
> with name 'entityManagerFactory' defined in class path resource
> [spring/AbstractTransactionalSpringBase.xml]: Invocation of init 
> method failed; nested exception is java.lang.NoClassDefFoundError:
> org/apache/openjpa/util/ProxyArrayList
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/openjpa/util/ProxyArrayList
> 
> I checked the 0.9.7 openjpa.jar and found ProxyArrayList, 
> ProxyHashSet, ProxyHashMap are all missing.  Is this a problem with 
> 0.9.7 build?
> --
> View this message in context: 
> http://www.nabble.com/Errors-with-0.9.7-tf3507716.html#a9797195
> Sent from the open-jpa-dev mailing list archive at Nabble.com.
> 
> 

Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

Notice:  This email message, together with any attachments, may contain information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,  copyrighted  and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.

RE: Errors with 0.9.7 and Spring

Posted by yangdq <di...@yahoo.com>.
We happened to use Spring 2.0.2.  Could the version be the reason?

Thanks.



Pinaki Poddar wrote:
> 
> 
> Spring 2.0.3 can load openjpa provider runtime via
> org.springframework.orm.jpa.LocalEntityManagerFactoryBean with latest
> openjpa-0.9.7.
> 
> Please post stack trace and spring/jpa configuration for further
> investigation.
>  
> 
> 
> Pinaki Poddar
> BEA Systems
> 415.402.7317  
> 
> 
> -----Original Message-----
> From: Patrick Linskey [mailto:plinskey@bea.com] 
> Sent: Monday, April 02, 2007 3:23 PM
> To: open-jpa-dev@incubator.apache.org
> Subject: RE: Errors with 0.9.7
> 
>> I checked the 0.9.7 openjpa.jar and found ProxyArrayList, 
>> ProxyHashSet, ProxyHashMap are all missing.  Is this a problem with 
>> 0.9.7 build?
> 
> Not as such -- those classes are no longer part of the OpenJPA
> distribution. OpenJPA now does collection and map proxying through
> different means.
> 
> Can you post the full stack trace? It sounds like we need to coordinate
> with the Spring guys on this dependency.
> 
> -Patrick
> 
> --
> Patrick Linskey
> BEA Systems, Inc. 
> 
> _______________________________________________________________________
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it. 
> 
>> -----Original Message-----
>> From: yangdq [mailto:dingqiang_yang@yahoo.com]
>> Sent: Monday, April 02, 2007 12:22 PM
>> To: open-jpa-dev@incubator.apache.org
>> Subject: Errors with 0.9.7
>> 
>> 
>> I downloaded the openjpa 0.9.7 nightly build to replace my current 
>> 0.9.6 version.  After that, all my unit tests failed with the 
>> following exception:
>> 
>> org.springframework.beans.factory.BeanCreationException: 
>> Error creating bean
>> with name 'entityManagerFactory' defined in class path resource
>> [spring/AbstractTransactionalSpringBase.xml]: Invocation of init 
>> method failed; nested exception is java.lang.NoClassDefFoundError:
>> org/apache/openjpa/util/ProxyArrayList
>> Caused by: java.lang.NoClassDefFoundError:
>> org/apache/openjpa/util/ProxyArrayList
>> 
>> I checked the 0.9.7 openjpa.jar and found ProxyArrayList, 
>> ProxyHashSet, ProxyHashMap are all missing.  Is this a problem with 
>> 0.9.7 build?
>> --
>> View this message in context: 
>> http://www.nabble.com/Errors-with-0.9.7-tf3507716.html#a9797195
>> Sent from the open-jpa-dev mailing list archive at Nabble.com.
>> 
>> 
> 
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it.
> 
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this by
> email and then delete it.
> 
> 

-- 
View this message in context: http://www.nabble.com/Errors-with-0.9.7-tf3507716.html#a9824627
Sent from the open-jpa-dev mailing list archive at Nabble.com.