Spring-ws 1.5.9 depends on Spring 2.5 (based on the pom). Can it be used with Spring 3 without running into any classloading issues. I know that some of the packages match between the two, can I just not include those Spring 3 jars? I cant seem to find any official word on this.
Share
Officially, no, they’re not compatible. Like you said, there are package conflicts between the two –
org.springframework.oxmin particular. This package was brought into Spring 3 from Spring-WS, and the two will clash.Work was supposed to be completed on Spring-WS 2.0 immediately after Spring 3.0 was released, but this hasn’t happened. Until that happens, Spring-WS remains incompatible with the current release of Spring Framework.
In practise, I’ve found that if you omit the
org.springframework.oxmJAR from the Spring 3 distro, the two work fine together. If you’re using maven, though, I’m not sure if this is an option for you.