问答详情
源自:3-5 Hello Spring MVC

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

请问,按照视频改写的 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> 则不报错,请问原因。

谢谢!


提问者:慕标2137209 2020-02-28 16:25

个回答

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

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