How to force maven update?

后端 未结 25 2450
失恋的感觉
失恋的感觉 2020-11-22 03:18

I imported my already working project on another computer and it started to download dependencies.

Apparently my internet connection crashed and now I get the foll

25条回答
  •  不要未来只要你来
    2020-11-22 03:48

    For fixing this issue from Eclipse:

    1) Add below dependency in Maven pom.xml and save the pom.xml file.

    
    
        com.thoughtworks.xstream
        xstream
        1.3.1
    
    

    2) Go to project >> Maven >> Update Project

    select the project and click OK.

    3) Optional step, if it's not resolved till step 2 then do below step after doing step-1

    Go to project >> Maven >> Update Project >> check in the checkbox 'Force Update of Snapshots/Releases'

    select the project and click OK.

提交回复
热议问题