我做了以下教程: http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html 当我执行以下步骤:mvn包时,我得到下面显示的错误
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project idArtefactoMyAplicacion: Fatal error compiling: directory not found: /home/user/Escritorio/primeraAppMaven/idArtefactoMyAplicacion/target/classes -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project idArtefactoMyAplicacion: Fatal error compiling
我没有指定目录,但我会在指南中描述每一步,所以我不知道出了什么问题。
有人可以帮忙吗?