Following your advice, I was able to find the dependency that was pulling in the wrong version of hibernate. It was beanlib - which I had added only yesterday. I had decided to not use beanlib anyway, so I just removed that dependency and now everything works like before.
Thanks a lot Michael Horwitz wrote: > > The simplest way to fix it is to set an explicit dependency on the > Hibernate > version you want in your project's pom. > > If you are interested, run mvn -X and pipe to a log file: e.g. mvn -X > install > mvn.log and look through the logfile to see which dependency is > pulling in the wrong version of Hibernate. > > Mike. > > On 8/15/07, sparqle <[EMAIL PROTECTED]> wrote: >> >> >> Yes, I ran mvn clean. Still no luck. >> I can see by browsing through my .m2 folder that the hibernate 3.0.5 >> files >> have a later last modified date than the hibernate-3.2.1.ga files. >> Could this be the problem? How can I fix it? I am using Windows. >> >> >> mraible wrote: >> > >> > Did you run "mvn clean" after upgrading your dependencies? >> > >> > On 8/15/07, sparqle <[EMAIL PROTECTED]> wrote: >> >> >> >> I am getting this same error using Appfuse. >> >> >> http://www.nabble.com/Wicket-%2B-Spring-%2B-Hibernate-tf3257238s2369.html#a9056150 >> >> >> >> >> >> In my project, I can see that Maven is using hibernate-3.0.5.jar and >> >> hibernate-annotations-3.2.1.ga.jar >> >> I am not sure whether these two are compatible. >> >> >> >> I can see that maven has downloaded other versions of hibernate also >> >> (including 3.2.1.ga), but it does not seem to be using it, and I keep >> >> getting this problem. >> >> >> >> I even upgraded to Appfuse 2.0-m5 (from m4), but I have the same >> problem. >> >> This just started happening yesterday. Till yesterday, everything was >> >> working fine with maven and appfuse-2.0-m4. I am using candy4appfuse >> with >> >> eclipse. Please advise how to get rid of this problem, and whether it >> may >> >> have been triggered by the hibernate incompatibilities. >> >> -- >> >> View this message in context: >> >> http://www.nabble.com/Hibernate-Problem-tf4273893s2369.html#a12164431 >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > -- >> > http://raibledesigns.com >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Hibernate-Problem-tf4273893s2369.html#a12164985 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Hibernate-Problem-tf4273893s2369.html#a12169532 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
