Maven: missing artifact org.springframework:spring:jar:4.2.6

前端 未结 6 795
栀梦
栀梦 2021-02-08 09:10

I have a dynamic web project in SpringToolSuite. It is converted into a Maven project.

I am getting the issue:

Mising artifact org.springframew

6条回答
  •  自闭症患者
    2021-02-08 09:31

    For spring framework, I was using the following dependency in my pom.xml file

    
        org.springframework
        spring-test
        4.3.2RELEASE
        test
    
    

    But it was giving me the error

    Missing artifact org.springframework.boot:spring-boot-starter-test:jar:4.3.2.RELEASE

    But when I changed the version to the latest one, the error was removed.

    
        org.springframework
        spring-test
        5.2.1.RELEASE
        test
    
    

    So try using the latest version.

提交回复
热议问题