1
resposta

Erro no empacotamento

[INFO]
[INFO] -------------------< br.com.alura.listavip:listavip >-------------------
[INFO] Building listavip 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ listavip ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 23 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ listavip ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
[INFO] Compiling 5 source files to C:\Users\martinez\eclipse-workspace\listavip\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/martinez/eclipse-workspace/listavip/src/main/java/br/com/alura/listavip/ConvidadoController.java:[40,21] cannot find symbol
  symbol:   class EmailService
  location: class br.com.alura.listavip.ConvidadoController
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.168 s
[INFO] Finished at: 2018-06-03T09:01:20-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project listavip: Compilation failure
[ERROR] /C:/Users/martinez/eclipse-workspace/listavip/src/main/java/br/com/alura/listavip/ConvidadoController.java:[40,21] cannot find symbol
[ERROR]   symbol:   class EmailService
[ERROR]   location: class br.com.alura.listavip.ConvidadoController
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
1 resposta

Fala ai Fábio, de boa ?

Cara tá tendo algum erro na sua classe ConvidadoController, consegue dar uma olhadinha nela e falar para gente se tá tudo certo ?