MavenError: Failed to execute goal on project: Could not resolve dependencies In Maven Multimodule project

后端 未结 4 1694
太阳男子
太阳男子 2020-12-29 22:16

I am trying to create a maven multi-module project. the project is created successfully but when I am trying to use one module as a dependency of another module, it throws a

4条回答
  •  灰色年华
    2020-12-29 22:25

    My solution:

    1. remove all projects in current workspace
    2. import all again
    3. maven update project (Alt + F5) -> Select All and check Force Update of Snapshots/Releases
    4. maven build (Ctrl + B) until there is nothing to build

    It worked for me after the second try.

提交回复
热议问题