Eclipse&Maven导入Maven项目后在pom.xml出现"Missing artifact org.springframework:spring-jdbc:jar:3.2.4.RELEAS"

当Eclipse&Maven项目导入后在pom.xml显示'Missing artifact org.springframework:spring-jdbc:jar:3.2.4.RELEASE'错误,可以通过更新项目解决。在Eclipse Kepler中,右击项目,选择Maven->Update Project,确保项目被选中并勾选Force Update of Snapshots/Releases。对于Eclipse的旧版本,右击项目,选择Maven->Update Project...,然后进行相应操作,让Eclipse重新检查并下载依赖。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

       同学的一个项目需要协作开发,从他的电脑上导出的Maven项目,到了我的电脑上的Eclipse里,在pom.xml文件中出现
        "Missing artifact org.springframework:spring-jdbc:jar:3.2.4.RELEASE"错误


        解决方法:(在stackoverflow上找到的答案)


In case you haven't already done it, try updating the project with regard to Maven.

In Eclipse Kepler, right-click on the project, then Maven > Update Project... and then make sure your project is checked under Available Maven Codebases, and that Update project configuration from pom.xml is checked, then select OK.

For older versions of Eclipse, you just right-click on the project, then Maven, and then I believe Update project configuration.

Each of these should signal to Eclipse that the pom.xml has been updated, and that it needs to be reexamined and to download any dependencies.


评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值