FWIW - I've upgraded to hibernate-annotations 3.3.0.ga in SVN.

http://issues.appfuse.org/browse/APF-853

Matt


fadhlirahim wrote:
> 
> Sorry for replying so late Matt.I had a problem with composite id using
> annotations and I read from the hibernate forum to upgrade to the latest
> hibernate library files. I didnt' know I would've entered a whole new
> mess.
> 
> On 8/22/07, Matt Raible <[EMAIL PROTECTED]> wrote:
>>
>> Sounds like a bug in hibernate-annotations, no? It doesn't look like
>> this JAR is in the central Maven repo, nor does hibernate-annotations
>> contain a dependency on it.
>>
>> Below are the versions of Hibernate we're currently using in AppFuse:
>>
>>         <hibernate.version>3.2.5.ga</hibernate.version>
>>         <hibernate.annotations.version>3.2.1.ga
>> </hibernate.annotations.version>
>>         <hibernate.entitymanager.version>3.2.1.ga
>> </hibernate.entitymanager.version>
>>
>> Why did you see the need to upgrade to 3.3.0.ga for
>> hibernate-annotations?
>>
>> Matt
>>
>> On 8/22/07, fadhli <[EMAIL PROTECTED]> wrote:
>> > Hello guys,
>> >
>> > I've stumbled upon some trouble while upgrading my hibernate version to
>> > hibernate 3.2.5.ga and hibernate annotation 3.3.0.ga. If you try to
>> build
>> > and run integration-test, this error will come out.
>> >
>> > ERROR - ContextLoader.initWebApplicationContext(203) |
>> > Context initialization failed
>> >  org.springframework.beans.factory.BeanCreationException:
>> > Error creating bean with name 'sessionFactory' defined in URL [
>> >
>> file:/E:/projects/epermit-backend-integrator/target/classes/applicationContext-
>> dao.xml]:
>> > Invocation of init method faile
>> >  d; nested exception is java.lang.NoClassDefFoundError:
>> > org/hibernate/annotations/common/reflection/ReflectionManager
>> >  Caused by:
>> >  java.lang.NoClassDefFoundError:
>> > org/hibernate/annotations/common/reflection/ReflectionManager
>> >
>> >
>> > It seems that the new version of hibernate annotation needs a
>> particular
>> jar
>> > file to work. If you download the hibernate annotation zip file, go to
>> the
>> > lib folder and you'll find a jar file named
>> > hibernate-common-annotations.jar. Install this file in your
>> > maven repository and include the dependency in your pom.xml file. 
>> Then,
>> > everything will work normally.
>> >
>> >
>> > --
>> > /fadhli
>>
>>
>> --
>> http://raibledesigns.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> /fadhli
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Upgrading-to-hibernate-annotation-to-version-3.3.0.ga-tf4310306s2369.html#a12380530
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to