Loading... > One common error while building any maven project through IDE( like eclipse or intelliJ) is *“Error while creating archive: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set”* fixes : Update the base pom.xml like below : ``` <plugin> ... <artifactId>maven-javadoc-plugin</artifactId> <configuration> <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> </configuration> ... </plugin> ``` 最后修改:2023 年 10 月 18 日 04 : 15 PM © 允许规范转载 赞赏 要多恰饭才能长胖 赞赏作者 支付宝微信