m2eclipse error

前端 未结 17 1107
忘掉有多难
忘掉有多难 2020-12-07 09:58

I am developing a web application with Eclipse and I generate the project with a maven archetype.

When I enable maven dependency management, Eclipse mark some errors

17条回答
  •  离开以前
    2020-12-07 10:38

    My issue was that eclipse could not find the mvn.bat file within the installation directory. The solution is to create a mvn.bat file with the following code:

    "%~dp0\mvn.cmd" %*
    

    Save that file. Place it inside the [Maven Installation Folder]\bin directory.

提交回复
热议问题