Page 1 of 1

spring dependency problem with BLC 3.1.5 and above

Posted: Tue Jul 29, 2014 5:15 am
by Theo Schumacher
Hi
currently i'am using BLC 3.1.2-GA for the demo-site. I have added web-services to the demo-site using spring-ws-core release 2.1.4. This is working fine as BLC has spring dependencies on spring release 3.2.2 and and spring-ws-core on spring release 3.2.4.

If I swtich BLC to version 3.1.5 (or above), the spring dependency changes to spring release 3.2.9 which is incompatible with spring-ws-core. If I use the next higher release of spring-ws-core (namely 2.2.0), this introduces a dependency on Spring release 4.0.5 which is not compatible with BLC. Appearently, the merge process of BLC does not work anymore as I get an error 'bean WebDS' not defined even though I didn't touch to the context files.

Is it possible to change the spring dependency of BLC back to release 3.2.2 (3.2.4) ?
When will BLC support spring 4.0.5 ?

Currently I'am forced to stay on BLC 3.1.2 but I would like to use the most recent version.

Thank you for any comment on that

Re: spring dependency problem with BLC 3.1.5 and above

Posted: Tue Jul 29, 2014 9:05 am
by phillipuniverse
A few options:

1. Is Spring WS 2.1.4 actually incompatible (errors starting up, compilation problems) with Spring 3.2.9? It depends on Spring 3.2.4 but that doesn't necessarily mean incompatible. Might be an easy fix for that though depending on what it is

2. In your own project you can manually declare a Spring dependency version in your pom.xml and it will override any transitive dependencies (for instance you could change Spring to target 3.2.4.RELEASE)

Broadleaf will support Spring 4.0 with the 3.2.0-GA release. It may not be 4.0.5 specifically, it will be the latest patch release of Spring 4.

Re: spring dependency problem with BLC 3.1.5 and above

Posted: Sat Apr 04, 2015 10:52 am
by Theo Schumacher
Hello,
I'am back after a while. Just wanted to report that my problem has gone with new Broadleaf and Spring version like shown here (taken from DemoSite/pom.xml)

Code: Select all

    <properties>
        <blc.version>3.1.13-GA</blc.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <org.springframework.version>3.2.9.RELEASE</org.springframework.version>
    </properties>


so, at last from 3.1.13 on it works fine with latest Spring 3.2.9 update.

Thank you !

Theo