Problem Description:
Packaging with maven (executed command: mvn clean package -Dmaven.test.skip=true) failed, and the following error was reported:
Solution:
1. In the Terminal command line in idea, change the command to:
mvn clean package '-Dmaven.test.skip=true'
The execution of packaging is successful, and the results are as follows:
2. Use the cmd command line to execute the written command:
mvn clean package -Dmaven.test.skip=true