Billie Finn wrote:On these tutorials, it's saying I should configure Hibernate and Spring in the pom.xml file.
This means you will have to add
maven dependencies in your pom.xml file. If your project contains a pom.xml, add spring and hibernate dependencies. Maven dependencies are lines of code which help you to integrate the required jar files. Here is the maven dependency for
Spring Core 4.2.2. In this link you will see
This is the spring core maven dependency. You will have <dependencies> </dependencies> tag in you pom.xml file. Just add these lines within these tags, after any set of <dependency></dependency> tag.
In this page, you will see a search box. Just type Hibernate core in it and you will get this
page
Click on the first link and you will see different versions available. Click on the required version and you will see code similar to above dependency.
OR still a better way just google, <whatever dependency you need, (say Hibernate core)> maven. It will give you the latest version page directly. Just copy these lines in you pom.xml and save it.
Billie Finn wrote:How do I know what versions I have?
For maven project:
Check the pom.xml. By default, it will have something like this
What ever the name is in the <version> tag (here spring.version), you will have it in the <properties> tag at the start of the pom.xml.
For a normal project:
Search the lib folder (/WEB-INF/lib) inside the project. You will have the jar with the version (unless you renamed it).
Billie Finn wrote:Do I even have Hibernate "installed"?
You don't have to install anything, just add the jar or dependencies in your project.
PS: Since you are using STS, I think you will have a pom.xml