Olá,
Fiz todos os passos da vídeo aula, no entanto, na hora de compilar o maven ocorre o seguinte erro no console:
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ livraria-maven --- [INFO] Deleting C:\Users\Marcelo\fenix3\livraria-maven\target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ livraria-maven --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ livraria-maven --- [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 20 source files to C:\Users\Marcelo\fenix3\livraria-maven\target\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.463 s [INFO] Finished at: 2016-08-09T13:18:51-03:00 [INFO] Final Memory: 9M/114M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project livraria-maven: Compilation failure [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [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.
Desde já muito obrigado!