It's not a secret anymore!
The moose likes Spring and the fly likes jar files for spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "jar files for spring" Watch "jar files for spring" New topic

jar files for spring

John Paterson
Ranch Hand

Joined: Mar 12, 2012
Posts: 170
Hi Folks,

I am trying to learn spring as I am new to it. I have a doubt with regards to the spring jar files. Why do some jar files end with 'x.y.z'? Does it denote anything? I mean what is the difference between org.springframework.asm-x.y.z.jar and a org.springframework.asm-3.1.0.M2? Hope someone can explain, Thanks.

Bill Gorder

Joined: Mar 07, 2010
Posts: 1682

Those are version numbers. The latest version of Spring is 3.2.3.RELEASE. You want to use the same version of Spring across all components do not mix and match them or you will have issues. Typically you should use Maven or a similar tool to manage this type of thing for you, you just assign a property in the POM with the version to bring in and reference that property everywhere (I suggest using the latest version).

edit* I just re-read your question and now I am confused, all the jars should end with .jar. Can you provide a link to what it is you are talking about?

[How To Ask Questions][Read before you PM me]
I agree. Here's the link:
subject: jar files for spring
It's not a secret anymore!