There are many reasons for this anomaly. Or go to a specific terminal compiler, see in the end is what went wrong, and then analyze specific issues.
Terminal into the root directory of the project, and then enter the command gradlew compileDebugJavaWithJavac --stacktrace
Final positioning error