It sounds as if the 2.0.5 dependencies are being pulled in transitively. Run
maven with the -X switch and pipe the output to a file. The contents of the
file will show you which dependency is pulling in the wrong spring version.

Mike

On Dec 7, 2007 12:13 PM, yuke <[EMAIL PROTECTED]> wrote:

>
>
>
> unfortunately that still wont work for me.
>
> but i found something strange, i found these jar's  in
> \web\target\Lat2-webapp-1.0-SNAPSHOT\WEB-INF\lib:
> spring-beans-2.0.5.jar
> spring-core-2.0.5.jar
> spring-web-2.0.5.jar
>
> even the values of spring.version in /pom.xml  :
> <spring.version>2.5</spring.version>
>
> and after i go through to the maven repository, folder of 2.0.5 version
>  in
> spring-beans, spring-core, spring-web have newer "date modified" than  2.5
> version.
> is this the root of the problem ? is something wrong with my maven
> repository ?
>
> i was try to change maven repository folder and unzip
> "appfuse-dependencies-2.0.1-with-source-and-javadoc"
> to make sure that my repository was clean.
>
> but after i run : mvn jetty:run-war -Dmaven.test.skip=true from /
> i saw that these jars are downloaded :
> spring-beans-2.0.5.jar
> spring-core-2.0.5.jar
> spring-web-2.0.5.jar
>
> i'm newbie in maven and appfuse, is it related problem ?
>
> Yuke
>
>
>
> I was successfully able to reproduce this. Removing the following bean
> definition in core/src/main/resources/applicationContext-service.xml
> seems to fix the problem:
>
>    <!-- Fix bug in Spring 2.0.6: http://issues.appfuse.org/browse/APF-887
> -->
>    <bean
> class="org.springframework.transaction.aspectj.AnnotationTransactionAspect
> "
> factory-method="aspectOf" dependency-check="none" lazy-init="false">
>        <property name="transactionManager" ref="transactionManager"/>
>    </bean>
>
> If this works for you, can you please enter an issue for this in JIRA?
>
> http://issues.appfuse.org/browse/APF
>
> Thanks!
>
> Matt
>
> --
> View this message in context:
> http://www.nabble.com/failed-after-mvn-appfuse%3Afull-source-tf4955813s2369.html#a14211478
> 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