java - Can I use new spring 3.2 with older spring-security 3.0 -


I want to upgrade from 3.0 to 3.2, but I'd like to skip upgrading for a while.

Can I use new Spring 3.2 with the old Spring-protection 3.0?

We are successfully running an application based on Spring 3.2.1.RELEASE and Spring Security 3.1.3. RELEASE.

Unfortunately I do not have any source that shows that it is officially supported.

If you are using Maven in your project, you should emphasize the versions to avoid having the same jar with multiple versions in your classpath:

  & lt; Properties & gt; & Lt; Spring.version & gt; 3.2.1.RELEASE & LT; /spring.version> & Lt; Spring-security.version & gt; 3.1.3.RELEASE & LT; /spring-security.version> & Lt; / Properties & gt; & Lt; DependencyManagement & gt; & Lt; Dependency & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.springframework & lt; / Group & gt; & Lt; ArtifactId & gt; Spring Reference & lt; / ArtifactId> & Lt; Version & gt; $ {Spring.version} & lt; / Edition & gt; & Lt; / Dependencies & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.springframework & lt; / Group & gt; & Lt; ArtifactId & gt; Spring-context support & lt; / ArtifactId> & Lt; Version & gt; $ {Spring.version} & lt; / Edition & gt; & Lt; / Dependencies & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.springframework.security & lt; / Group & gt; & Lt; ArtifactId & gt; Spring-safety-core & lt; / ArtifactId> & Lt; Version & gt; $ {Spring- security.version} & lt; / Edition & gt; & Lt; / Dependencies & gt; & Lt ;! - e.t.c. (Specify a certain version for each spring jar) - & gt; & Lt; / Dependencies & gt; & Lt; / DependencyManagement & gt;    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -