标签:info out 操作 compiler 排查 ota http install default
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building xm-manager-web 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ xm-manager-web ---
[INFO] Deleting F:\Work2\xm-shop-web\target
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) @ xm-manager-web >>>
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ xm-manager-web ---
[INFO] Using ‘UTF-8‘ encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ xm-manager-web ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to F:\Work2\xm-shop-web\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /F:/Work2/xm-shop-web/src/main/java/com/lq/controller/BookController.java:[10,20] 程序包com.lq.model不存在
[ERROR] /F:/Work2/xm-shop-web/src/main/java/com/lq/controller/BookController.java:[11,22] 程序包com.lq.service不存在
[ERROR] /F:/Work2/xm-shop-web/src/main/java/com/lq/controller/BookController.java:[18,17] 找不到符号
符号: 类 IBookService
位置: 类 com.lq.controller.BookController
[ERROR] /F:/Work2/xm-shop-web/src/main/java/com/lq/controller/BookController.java:[20,16] 找不到符号
符号: 类 IBookService
位置: 类 com.lq.controller.BookController
[ERROR] /F:/Work2/xm-shop-web/src/main/java/com/lq/controller/BookController.java:[24,36] 找不到符号
符号: 类 IBookService
位置: 类 com.lq.controller.BookController
[INFO] 5 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.310 s
[INFO] Finished at: 2018-09-09T10:23:00+08:00
[INFO] Final Memory: 13M/122M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project xm-manager-web: Compilation failure: Compilation failure:
[ERROR] /F:/Work2/xm-shop-web/src/main/java/com/lq/controller/BookController.java:[10,20] 程序包com.lq.model不存在
[ERROR] /F:/Work2/xm-shop-web/src/main/java/com/lq/controller/BookController.java:[11,22] 程序包com.lq.service不存在
[ERROR] /F:/Work2/xm-shop-web/src/main/java/com/lq/controller/BookController.java:[18,17] 找不到符号
[ERROR] 符号: 类 IBookService
[ERROR] 位置: 类 com.lq.controller.BookController
[ERROR] /F:/Work2/xm-shop-web/src/main/java/com/lq/controller/BookController.java:[20,16] 找不到符号
[ERROR] 符号: 类 IBookService
[ERROR] 位置: 类 com.lq.controller.BookController
[ERROR] /F:/Work2/xm-shop-web/src/main/java/com/lq/controller/BookController.java:[24,36] 找不到符号
[ERROR] 符号: 类 IBookService
[ERROR] 位置: 类 com.lq.controller.BookController
[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] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExcept
排查了好久,最后其实只要把所有正在运行的程序×掉,然后重头Run As→maven install,然后maven build...就好了,
主要是同时启动的项目太多,clean tomcat7:run操作时系统会自动clean
标签:info out 操作 compiler 排查 ota http install default
原文地址:https://www.cnblogs.com/chen7818/p/9613214.html