>PROBLEM
Attempt to run an Eclipse project returns the following error:
Error: Could not find or load main class antlr.debug.misc.ASTFrame
Caused by: java.lang.ClassNotFoundException: antlr.debug.misc.ASTFrame
>SOLUTION
0. Pre-requisite: make sure your pom.xml configuration is correct.
1. On Eclipse, using the Project Explorer (or Navigator), delete the following configuration files:
.settings
.classpath
2. Eclipse will complaing throwing an error pop-up. Ignore closing it.
3. Using the Project Explorer (or Navigator), point to the project's root and save it again.
This will generate again the deleted files.
4. Check if there are errors and fix them.
In this case is Spring Boot.
>ENV
maven
eclipse
java17
No comments:
Post a Comment