pom.xml中引入的hibernate包
<!-- Hibernate核心包 -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.6.10.Final</version>
</dependency>
报错Failure to transfer org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled.
我又加上
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.0-api</artifactId>
<version>1.0.1.Final</version>
</dependency>
还是报错,报错内容一样
