Eclipse error setting up Maven project for class exercise: Check $M2_HOME environment variable and mvn script match

前端 未结 7 1159
忘掉有多难
忘掉有多难 2020-12-24 08:16

I have found a few related questions on this, but they\'re all related to Intellij or on Mac OS. I\'m on Windows 8.1 and using Eclipse:

Eclipse Java EE IDE f

相关标签:
7条回答
  • 2020-12-24 08:58

    Newer version of maven will automatically set the multiModuleProjectDirectory property in the bin/mvn script. This was added here, though I'm not sure how the release number/patching works. You can look for the find_maven_basedir function in that file. If it doesn't exist, try upgrading maven.

    0 讨论(0)
提交回复
热议问题