質問

I am using eclipse 4.3 with the maven plugin (m2e).

I added this dependency to my project's pom.xml:

<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-core</artifactId>
    <version>4.2.5.Final</version>
</dependency>

I get the dependency from here: http://mvnrepository.com/artifact/org.hibernate/hibernate-core/4.2.5.Final

But the m2e-plugin says:

Missing artifact org.hibernate:hibernate-core:jar:4.2.5.Final

If I change the version to 4.2.3 everything works fine.

I have tried (multiple times) to update and rebuild the index of the central-maven-repository.

Any ideas? TIA!

Edit: My maven-repositories (in eclipse):

enter image description here

役に立ちましたか?

解決

As mentioned by chrysilis in the comments the problem was an corrupt package in my local repository. After deleting that, everything works fine.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top