Spring - Required library missing - hibernate3-3.2.3.GA.jar

I understood this tutorial to understand Spring and Hibernate. After I added hibernate dependency like this:

<dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate</artifactId>
        <version>3.2.3.ga</version>
</dependency>

      

I got this error

Project 'SpringExample' is missing required library: 'C:\Users\gmuniandy\.m2\repository\hibernate\hibernate3\3.2.3.GA\hibernate3-3.2.3.GA.jar'  SpringExample       Build path  Build Path Problem

      

...

I downloaded the jar file and placed it in the folder manually, but the problem still remains. Please advise. enter image description here EDIT enter image description here

+3


source to share


3 answers


I assume this is the wrong letter in your pom.xml: Instead of "ga" use "GA" as Ragu already wrote.

Have you tried the downloadable project from the website yet?

And what seems strange to me, I haven't found any hint of case sensitivity on maven.org, even though maven uses code-dependent matching when matching property values. Referring to Maven Model



May I assume you are following this tutorial? Accessing relational data with JDBC with Spring

At the bottom of the article, you will see the complete pom.xml that gets the required and correct versions of libs from the legacy pom.

It should keep your pom short and simple. This way you can better focus on your task and not worry about using libs early on in your project.

0


source


Have you tried cleaning up your local Maven repository again and fixing the problems?



0


source


wrong version. 3.2.3.GA. In the mvn repository, you can search for a specific maven jar dependency.

-1


source







All Articles