Resolve maven plugin issue: ' Unable to load mojo'

前端 未结 5 626
醉梦人生
醉梦人生 2020-12-30 02:12

I have configured all the dependencies in my pom.xml through maven. When i give the command mvn install I get the following error:

5条回答
  •  有刺的猬
    2020-12-30 02:44

    I got "unable to exe mojo" error when I build a maven project (JAVA), I noticed it also failed to get JAVA_HOME path which i added in my .batch_profile, manually export JAVA home problem resolved. it looks in many cases this build problem could happen but check system env variable might help ... David

提交回复
热议问题