1: When IDEA is running, an error prompts "the main class cannot be found or cannot be loaded": after ensuring that the IDEA development environment is correct ->file->invalidate Cache/restart, and then rebuild. problem solved.
1: When IDEA is running, an error prompts "the main class cannot be found or cannot be loaded": after ensuring that the IDEA development environment is correct ->file->invalidate Cache/restart, and then rebuild. problem solved.