Question 1,
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:Test (default-test) on project Motherbuyboot:there is test failures.
[ERROR] Refer to D:\web\motherbuy\target\surefire-reports for the individual test results. [ERROR] Refer to dump files (if any exist) [Date]-jvmrun[n].dump, [Date].dumpstream and [Date]-jvmrun[n].dumpstream.
F method: The JUnit version of the Pom,xml file is incorrect, or for other reasons, I will use JUnit dependency comment out, compile pass;
Question 2,
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project Motherbuyboot:compilation Failure
[ERROR] No compiler is provided in this environment. Perhaps is running on a JRE rather than a JDK?
Method: This association to the compile compiler environment problem, is not configured well; Look at the map to solve, don't forget to update maven
How to troubleshoot the Spring boot project maven build error