maven

LiuYangBelieve 2017-07-19 01:40:00
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project vr-tms-service: Compilation failure: Compilation failure:
[ERROR] /D:/Workspaces/ptw/xp1.0/vr-tms/tms-service/src/main/java/com/suneee/scn/tms/service/DispatchOrderService.java:[113,76] 不兼容的类型: com.suneee.scn.chtpub.authentication.model.dbo.SystemUserInfoT无法转换为com.suneee.scn.authentication.model.dbo.SystemUserInfoT
[ERROR] /D:/Workspaces/ptw/xp1.0/vr-tms/tms-service/src/main/java/com/suneee/scn/tms/service/DispatchOrderService.java:[184,76] 不兼容的类型: com.suneee.scn.chtpub.authentication.model.dbo.SystemUserInfoT无法转换为com.suneee.scn.authentication.model.dbo.SystemUserInfoT
[ERROR] /D:/Workspaces/ptw/xp1.0/vr-tms/tms-service/src/main/java/com/suneee/scn/tms/service/OrdersService.java:[117,75] 不兼容的类型: com.suneee.scn.chtpub.authentication.model.dbo.SystemUserInfoT无法转换为com.suneee.scn.authentication.model.dbo.SystemUserInfoT
[ERROR] /D:/Workspaces/ptw/xp1.0/vr-tms/tms-service/src/main/java/com/suneee/scn/tms/service/OrdersService.java:[192,75] 不兼容的类型: com.suneee.scn.chtpub.authentication.model.dbo.SystemUserInfoT无法转换为com.suneee.scn.authentication.model.dbo.SystemUserInfoT
[ERROR] /D:/Workspaces/ptw/xp1.0/vr-tms/tms-service/src/main/java/com/suneee/scn/tms/service/OrdersService.java:[408,75] 不兼容的类型: com.suneee.scn.chtpub.authentication.model.dbo.SystemUserInfoT无法转换为com.suneee.scn.authentication.model.dbo.SystemUserInfoT
[ERROR] /D:/Workspaces/ptw/xp1.0/vr-tms/tms-service/src/main/java/com/suneee/scn/tms/service/OrdersService.java:[479,75] 不兼容的类型: com.suneee.scn.chtpub.authentication.model.dbo.SystemUserInfoT无法转换为com.suneee.scn.authentication.model.dbo.SystemUserInfoT
[ERROR] /D:/Workspaces/ptw/xp1.0/vr-tms/tms-service/src/main/java/com/suneee/scn/tms/service/CarclassesService.java:[68,67] 不兼容的类型: com.suneee.scn.chtpub.authentication.model.dbo.SystemUserInfoT无法转换为com.suneee.scn.authentication.model.dbo.SystemUserInfoT
[ERROR] /D:/Workspaces/ptw/xp1.0/vr-tms/tms-service/src/main/java/com/suneee/scn/tms/service/CarclassesService.java:[96,67] 不兼容的类型: com.suneee.scn.chtpub.authentication.model.dbo.SystemUserInfoT无法转换为com.suneee.scn.authentication.model.dbo.SystemUserInfoT
[ERROR] /D:/Workspaces/ptw/xp1.0/vr-tms/tms-service/src/main/java/com/suneee/scn/tms/service/CarclassesService.java:[136,67] 不兼容的类型: com.suneee.scn.chtpub.authentication.model.dbo.SystemUserInfoT无法转换为com.suneee.scn.authentication.model.dbo.SystemUserInfoT
[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 :vr-tms-service
...全文
171 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Abin0406 2017-07-19
  • 打赏
  • 举报
回复
com.suneee.scn.chtpub.authentication.model.dbo.SystemUserInfoT com.suneee.scn.authentication.model.dbo.SystemUserInfoT 这两个是不同的类,在两个包里,不能直接转换
一剑侵心 2017-07-19
  • 打赏
  • 举报
回复
感觉是你配置的类型和注入的类型不一致

51,410

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧