maven 在类路径或引导类路径中找不到程序包

时间:2025-04-02 13:41:28
[INFO] Changes detected - recompiling the module! [INFO] Compiling 470 source files to /Users/baozhichao/workspace/meforlite/target/classes 致命错误: 在类路径或引导类路径中找不到程序包 [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] An unknown compilation problem occurred [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.019 s [INFO] Finished at: 2017-12-21T16:03:44+08:00 [INFO] Final Memory: 29M/270M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal :maven-compiler-plugin:3.3:compile (default-compile) on project meforlite: Compilation failure [ERROR] An unknown compilation problem occurred [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] /confluence/display/MAVEN/MojoFailureException