How to add “Maven Managed Dependencies” library in build path eclipse?

后端 未结 15 1682
心在旅途
心在旅途 2020-12-04 11:04

I have created a Maven project and I want to add all Maven dependencies in build path of the project in Eclipse. When I go to Java Bui

15条回答
  •  孤街浪徒
    2020-12-04 11:39

    Follow these steps

    1) Go in projects class path

    2) Go in library tab

    3) click on Add Library

    4) In opened dialogue select Maven Managed Dependencies

    5) Click on Next

    6) In the new dialogue click on Manage Project Settings

    7) In opened dialogue select the check box Resolve dependencies from workspace

    8) Click on Restore defaults

    9) It will do some process and you will have all your dependencies in your library now.

提交回复
热议问题