"AssertionError" Reported in the spring-cloud-launcher-cli Module
Symptom
An error occurs during the Spring-Cloud-cli compilation. The error message "AssertionError" is displayed.

Key Process and Cause Analysis
The problem is caused by assertion error.
Conclusion and Solution
- Open the LauncherCommandTests.java file.
vim /home/spring-cloud-cli/spring-cloud-launcher/spring-cloud-launcher-cli/src/test/java/org/springframework/cloud/launcher/cli/LauncherCommandTests.java
- Add the following content to line 19:
import org.junit.Ignore;

- Add the following content to lines 36, 43, and 51:
@Ignore

Run the :set list command to check the format. Spaces are not allowed. Use Tab to indent the code.
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Run the compile command again.
./mvnw clean install -Dgpg.skip=true
Parent topic: Troubleshooting