According to the springio documentation here I should be able to just cut and paste this...
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework</artifactId>
<version>4.0.5.RELEASE</version>
</dependency>
</dependencies>
...into my maven pom, which I did, but it fails to resolve the version.
So I looked and found this and I added a proxy repository to my nexus for the [release] ( http://repo.spring.io/release ) repository but still failed to locate the artifact.
Then I navigated to the http://repo.spring.io/release repo and manually searched and CANNOT FIND the artifact.
So, where I am going wrong?
That's a mistake in the guide. Somewhere below it mentions "spring-context", so I believe that should have been:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>4.0.5.RELEASE</version>
</dependency>
Notice "spring-context" instead of "spring-framework". Github issue to have that fixed: Github issue .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.