Compilation failure: Compilation failure:

Posted mslog

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Compilation failure: Compilation failure:相关的知识,希望对你有一定的参考价值。

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project taotao-manager-service: Compilation failure: Compilation failure:
[ERROR] /D:/workspaces-itcast/template/taotao-manager/taotao-manager-Service/src/main/java/com/taotao/service/ItemService.java:[3,30] 程序包com.taotao.common.pojo不存在
[ERROR] /D:/workspaces-itcast/template/taotao-manager/taotao-manager-Service/src/main/java/com/taotao/service/ItemService.java:[10,9] 找不到符号
[ERROR] 符号: 类 EasyUIDataGridResult
[ERROR] 位置: 接口 com.taotao.service.ItemService
[ERROR] /D:/workspaces-itcast/template/taotao-manager/taotao-manager-Service/src/main/java/com/taotao/service/impl/ItemServiceImpl.java:[10,30] 程序包com.taotao.common.pojo不存在
[ERROR] /D:/workspaces-itcast/template/taotao-manager/taotao-manager-Service/src/main/java/com/taotao/service/impl/ItemServiceImpl.java:[42,16] 找不到符号
[ERROR] 符号: 类 EasyUIDataGridResult
[ERROR] 位置: 类 com.taotao.service.impl.ItemServiceImpl
[ERROR] /D:/workspaces-itcast/template/taotao-manager/taotao-manager-Service/src/main/java/com/taotao/service/impl/ItemServiceImpl.java:[51,17] 找不到符号
[ERROR] 符号: 类 EasyUIDataGridResult
[ERROR] 位置: 类 com.taotao.service.impl.ItemServiceImpl
[ERROR] /D:/workspaces-itcast/template/taotao-manager/taotao-manager-Service/src/main/java/com/taotao/service/impl/ItemServiceImpl.java:[51,51] 找不到符号
[ERROR] 符号: 类 EasyUIDataGridResult
[ERROR] 位置: 类 com.taotao.service.impl.ItemServiceImpl
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :taotao-manager-service

 

错误愿意taotao.common中新添加了一个类,但是本地仓库中是用的是旧的,所以需要在taotao.common需要install一下

以上是关于Compilation failure: Compilation failure:的主要内容,如果未能解决你的问题,请参考以下文章

Compilation failure Error 程序包xxx不存在,Error 找不到符号

Pre-compile (pre-JIT) your assembly on the fly, or trigger JIT compilation ahead-of-time (转)

maven install 构建报错

.22-浅析webpack源码之compile流程-事件流compilation总览

OpenSSL Compilation and Installation

Aheadof Time Compilation(AOT) vs (JIT)Just In Time compilation approach