pom.xml 文件中的<type>pom</type>报错,请教。

来源:3-5 Hello Spring MVC

慕标2137209

2020-02-28 16:25

请问,按照视频改写的 pom.xml

http://img1.mukewang.com/5e59279300019ff910420512.jpg

提示错误信息是:

Project build error: Non-resolvable import POM: Failure to find org.springframework:spring-framework-bom:pom:$(spring.version) in http://maven.aliyun.com/nexus/

 content/repositories/central was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced

注释掉 <type>pom</type> 则不报错,请问原因。

谢谢!


写回答 关注

1回答

  • qq_慕标8367942
    2020-06-17 16:12:17

    把$后面的括号()改成大括号{}

Spring MVC起步

Java中Spring MVC框架入门教程,快来看最易用的MVC框架

195978 学习 · 572 问题

查看课程

相似问题