maven 无法导入jar包
2016-07-15 09:45
183 查看
自己搭建项目的时候由于操作问题(下载jia包时强行关闭 )导致后期无法导入依赖包:
spring-webmvc jar包:
Failure to transfer org.springframework:spring-webmvc:jar:4.0.6.RELEASE 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.springframework:spring-webmvc:jar:4.0.6.RELEASE from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled.
解决办法:
1,删除maven仓库中的spring-webmvc jar包文件夹
2,update maven project(重新更新依赖包,并且编译项目)
spring-webmvc jar包:
Failure to transfer org.springframework:spring-webmvc:jar:4.0.6.RELEASE 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.springframework:spring-webmvc:jar:4.0.6.RELEASE from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled.
解决办法:
1,删除maven仓库中的spring-webmvc jar包文件夹
2,update maven project(重新更新依赖包,并且编译项目)
相关文章推荐
- UVa 10391(Compound Words)
- Jni反破解调研
- 蓝色主题登陆页面界面模板
- jar文件读取和遍历
- Linux基础(12)之vim的使用
- HDU 1251 统计难题(map)
- 如何关掉苹果iMac开机启动声音
- Android 环形进度条Demo
- 细数重复数据后重删技术四宗罪
- 104. Maximum Depth of Binary Tree
- Win7_64位使用Mysql Odbc
- Oracle数据库中SQL语句的优化技巧
- Java Error和Exception
- gradle本地文件仓库 (52.6.5. Flat directory repository)
- 史上最浅显易懂的Git分布式版本控制系统教程
- mybatis配置-返回date类型丢失时间
- 表单提交 input 类型的限制
- JQuery 运行原理分析
- Swift 必备开发库10个
- Android屏幕适配全攻略(最权威的官方适配指导)