Unable to find javadoc command - maven

后端 未结 7 571
南笙
南笙 2020-12-30 20:56

I ran this command in my project directory to build and package it:

mvn clean javadoc:jar package

I do have my JAVA_HOME varia

7条回答
  •  旧时难觅i
    2020-12-30 21:18

    You can add the JAVA_HOME as an environment variable in eclipse.

    Go to your maven build-> add the following.

    Click New->

    Name: JAVA_HOME

    Value : your path here.

    This worked for me!

提交回复
热议问题