ixrjog/opscloud4

mvn 报错

Lee-Z opened this issue · 2 comments

Lee-Z commented

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /app/opsCloud-master/opscloud-manage/src/main/java/com/baiyi/opscloud/ws/XtermWSController.java:[35,8] class XTermWSController is public, should be declared in a file named XTermWSController.java
[ERROR] /app/opsCloud-master/opscloud-manage/src/main/java/com/baiyi/opscloud/factory/ticket/impl/handler/TicketServerGroupHandler.java:[65,68] cannot find symbol
symbol: method getServerGroup()
location: variable serverGroupEntry of type com.baiyi.opscloud.factory.ticket.entry.ServerGroupEntry
[ERROR] /app/opsCloud-master/opscloud-manage/src/main/java/com/baiyi/opscloud/factory/ticket/impl/handler/TicketServerGroupHandler.java:[70,72] cannot find symbol
symbol: method getNeedAdministratorAccount()
location: variable serverGroupEntry of type com.baiyi.opscloud.factory.ticket.entry.ServerGroupEntry
[ERROR] /app/opsCloud-master/opscloud-manage/src/main/java/com/baiyi/opscloud/factory/change/consumer/impl/BaseServerChangeConsumer.java:[73,58] cannot find symbol
symbol: method getCode()
location: variable changeResult of type com.baiyi.opscloud.factory.change.consumer.bo.ChangeResult
[ERROR] /app/opsCloud-master/opscloud-manage/src/main/java/com/baiyi/opscloud/factory/change/consumer/impl/BaseServerChangeConsumer.java:[74,57] cannot find symbol
symbol: method getMsg()
location: variable changeResult of type com.baiyi.opscloud.factory.change.consumer.bo.ChangeResult
[ERROR] /app/opsCloud-master/opscloud-manage/src/main/java/com/baiyi/opscloud/factory/change/consumer/impl/BaseServerChangeConsumer.java:[82,54] cannot find symbol
symbol: method getCode()
location: variable changeResult of type com.baiyi.opscloud.factory.change.consumer.bo.ChangeResult
[ERROR] /app/opsCloud-master/opscloud-manage/src/main/java/com/baiyi/opscloud/factory/change/consumer/impl/BaseServerChangeConsumer.java:[83,53] cannot find symbol
symbol: method getMsg()
location: variable changeResult of type com.baiyi.opscloud.factory.change.consumer.bo.ChangeResult
[ERROR] /app/opsCloud-master/opscloud-manage/src/main/java/com/baiyi/opscloud/factory/change/consumer/impl/ApplicationStopConsumer.java:[64,53] cannot find symbol
symbol: method builder()

IDEA中安装lombok插件,代码中使用了@builder&@DaTa注解

Lee-Z commented

已和你沟通,拉取最新的代码即可解决