错误信息:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.996s
[INFO] Finished at: Tue Sep 17 15:58:34 CST 2019
[INFO] Final Memory: 43M/503M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project ZLITS_ITMP_BAZAAR: Compilation failure
[ERROR] /D:/workspace_all/eclipse12/ZLITS_ITMP_BAZAAR/src/main/java/com/zit/itmp/rfid/adapter/dms/webservice/SynSectionInfo.java:[10,46] 程序包com.zit.rfid.dms.ucms.WebService.model不存在
[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/MojoFailureException
解决方法,添加外部jar路径,如下图所示:(注意路径:从代码根路径开始)
然后执行:Run As>>Maven clean
Run As>>Maven install