I tried to update Maven compiler plugin version to the latest 3.12.0 version, and got the error message like the following when compiling the projects:
[INFO] --- compiler:3.12.0:compile (default-compile) @ mongodb-kotlin --- [INFO] Recompiling the module because of changed dependency. [INFO] ---------------------------------------------------------------------------------------------------------------- [INFO] BUILD FAILURE [INFO] ---------------------------------------------------------------------------------------------------------------- [INFO] Total time: 02:12 min [INFO] Finished at: 2023-12-22T12:14:43+08:00 [INFO] ---------------------------------------------------------------------------------------------------------------- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.0:compile (default-compile) on project mongodb-kotlin: Fatal error compiling: basedir D:\hantsylabs\quarkus-sample\mongodb-kotlin\target\generated-sources\annotations does not exist -> [Help 1] I found the error only occurred in a Kotlin project, check an example of the updated pom.xml here, https://github.com/hantsy/quarkus-sandbox/blob/master/resteasy-kotlin-co/pom.xml --- Regards, *Hantsy Bai* Self-employed consultant, fullstack developer, agile coach, freelancer/remote worker GitHub: https://github.com/hantsy Twitter: https://twitter.com/@hantsy Medium: https://medium.com/@hantsy