java - ArtifactTransferException: Failure to transfer org.springframework.data:spring-data-jpa:jar:1.7.0.RELEASE -


iam getting following compile time error in pom file

artifacttransferexception: failure transfer org.springframework.data:spring-data-jpa:jar:1.7.0.release http://repo.maven.apache.org/maven2 cached in local   repository, resolution not reattempted until update interval of central has elapsed or updates forced. original error: not transfer artifact   org.springframework.data:spring-data-jpa:jar:1.7.0.release from/to central (http://repo.maven.apache.org/maven2): access denied http://repo.maven.apache.org/maven2/org/  springframework/data/spring-data-jpa/1.7.0.release/spring-data-jpa-1.7.0.release.jar. error code 403, forbidden 

my pom file is:

    <project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"     xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">     <modelversion>4.0.0</modelversion>     <groupid>com.technicalkeeda</groupid>     <artifactid>com.technicalkeeda</artifactid>     <version>0.0.1-snapshot</version>     <name>hibernateexamples</name>     <properties>         <hibernate.version>4.3.5.final</hibernate.version>         <spring.version>4.1.0.release</spring.version>     </properties>     <dependencies>         <dependency>             <groupid>junit</groupid>             <artifactid>junit</artifactid>             <version>3.8.1</version>             <scope>test</scope>         </dependency>         <dependency>             <groupid>mysql</groupid>             <artifactid>mysql-connector-java</artifactid>             <version>5.1.9</version>         </dependency>          <dependency>             <groupid>org.hibernate</groupid>             <artifactid>hibernate-core</artifactid>             <version>${hibernate.version}</version>         </dependency>          <dependency>             <groupid>dom4j</groupid>             <artifactid>dom4j</artifactid>             <version>1.6.1</version>         </dependency>          <dependency>             <groupid>commons-logging</groupid>             <artifactid>commons-logging</artifactid>             <version>1.1.1</version>         </dependency>          <dependency>             <groupid>commons-collections</groupid>             <artifactid>commons-collections</artifactid>             <version>3.2.1</version>         </dependency>          <dependency>             <groupid>cglib</groupid>             <artifactid>cglib</artifactid>             <version>2.2.2</version>         </dependency>          <dependency>             <groupid>asm</groupid>             <artifactid>asm</artifactid>             <version>3.1</version>         </dependency>          <dependency>             <groupid>javax.transaction</groupid>             <artifactid>jta</artifactid>             <version>1.1</version>         </dependency>          <!-- https://mvnrepository.com/artifact/net.sf.ehcache/ehcache -->         <dependency>             <groupid>net.sf.ehcache</groupid>             <artifactid>ehcache</artifactid>             <version>2.10.3</version>         </dependency>         <dependency>             <groupid>org.slf4j</groupid>             <artifactid>slf4j-api</artifactid>             <version>1.7.5</version>         </dependency>          <dependency>             <groupid>org.springframework</groupid>             <artifactid>spring-core</artifactid>             <version>${spring.version}</version>         </dependency>         <dependency>             <groupid>org.springframework</groupid>             <artifactid>spring-context</artifactid>             <version>${spring.version}</version>         </dependency>         <dependency>             <groupid>org.springframework</groupid>             <artifactid>spring-beans</artifactid>             <version>${spring.version}</version>         </dependency>         <dependency>             <groupid>org.springframework</groupid>             <artifactid>spring-webmvc</artifactid>             <version>${spring.version}</version>         </dependency>         <!-- javaconfig need library -->         <dependency>             <groupid>cglib</groupid>             <artifactid>cglib</artifactid>             <version>2.2.2</version>         </dependency>          <!-- spring aop + aspectj -->         <dependency>             <groupid>org.springframework</groupid>             <artifactid>spring-aop</artifactid>             <version>${spring.version}</version>         </dependency>          <!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->         <dependency>             <groupid>org.aspectj</groupid>             <artifactid>aspectjweaver</artifactid>             <version>1.7.4</version>         </dependency>         <!-- https://mvnrepository.com/artifact/aopalliance/aopalliance -->         <dependency>             <groupid>aopalliance</groupid>             <artifactid>aopalliance</artifactid>             <version>1.0</version>         </dependency>          <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web -->         <dependency>             <groupid>org.springframework.boot</groupid>             <artifactid>spring-boot-starter-web</artifactid>             <version>1.5.2.release</version>         </dependency>          <!-- https://mvnrepository.com/artifact/org.springframework.data/spring-data-jpa -->         <dependency>             <groupid>org.springframework.data</groupid>             <artifactid>spring-data-jpa</artifactid>             <version>1.7.0.release</version>         </dependency>      </dependencies>     <build>         <finalname>hibernateexamples</finalname>     </build> </project> 

solutions have tried:

  1. checked proxy settings "setttings.xml" file
  2. deleted repository , updated maven project again.

using: maven 3.3.1 java 7

delete jars errors occurred .m2 repository. in eclipse right click -> maven -> update project, click except offline , click ok.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -