Could not transfer artifact org.springframework:spring-tx:jar:3.2.3.RELEASE
2016-12-22 16:23
771 查看
在maven中加入依赖时,如果jar下载失败,这时pom文件中就会出现上面的错误,重新添加也不好用,
这时要手动去maven库中删除已经下载的依赖包。
默认库位置:C:\Users\XXX\.m2
这时要手动去maven库中删除已经下载的依赖包。
默认库位置:C:\Users\XXX\.m2
相关文章推荐
- Could not transfer artifact org.springframework:spring-tx:jar:3.2.3.RELEASE
- Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.2.RELEASE
- Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.4.RELEASE
- Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.4.RELEASE
- sts中新建项目时出现Original error: Could not transfer artifact org.hamcrest:hamcrest-core:jar:
- Could not download spring-boot-autoconfigure.jar (org.springframework.boot: spring-boot-autoconfigur
- org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; nested
- Could not load org.springframework.aop.framework.AdvisedSupport$MethodCacheKey
- org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; nested exc
- org.springframework.dao.DataIntegrityViolationException: could not perform addBatch;数据的完整性异常
- org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; nested exception is org.hibernate.exce
- org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session
- org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; nested
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query
- org.springframework.dao.InvalidDataAccessResourceUsageException: Could not execute JDBC batch
- org.springframework.dao.InvalidDataAccessResourceUsageException: Could not execute JDBC batch update
- org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query;
- org.springframework.transaction.CannotCreateTransactionException: Could not open