akakunin
10-09-2006, 11:48 AM
I'm trying to build project with Acegy 1.0.1 and Spring 2.0 with using Maven.
Problem is that acegy in maven repository has dependency to spring-hibernate-1.2.7 (and some other packages from 1.x branch). But, since I'm using Spring 2.0 I do not need them.
Before 2.0 release (last version I used was 2.0 rc3) it is not caused problems.
But after upgrade to 2.0 final I've got followed problem:
since both jars (spring-2.0 & spring-hibernate-1.2.7) is included into project then I'm creating hibernate session bean class org.springframework.orm.hibernate3.LocalSessionFac toryBean got from spring-hibernate-1.2.7 jar, but inherited it from AbstractSessionFactoryBean from spring-2.0. As result I have many very strange bugs.
Does anybody know solution?
Thank you
Problem is that acegy in maven repository has dependency to spring-hibernate-1.2.7 (and some other packages from 1.x branch). But, since I'm using Spring 2.0 I do not need them.
Before 2.0 release (last version I used was 2.0 rc3) it is not caused problems.
But after upgrade to 2.0 final I've got followed problem:
since both jars (spring-2.0 & spring-hibernate-1.2.7) is included into project then I'm creating hibernate session bean class org.springframework.orm.hibernate3.LocalSessionFac toryBean got from spring-hibernate-1.2.7 jar, but inherited it from AbstractSessionFactoryBean from spring-2.0. As result I have many very strange bugs.
Does anybody know solution?
Thank you