Я вижу ошибку ниже, когда я запускаю свой код после развертывания в QA Env. Этот же код прекрасно работал в нашем затмении. Я добавил lombok зависимость в POM файл. Нужно ли устанавливать ломбок на unix коробку так же, как в eclipse?
java.lang.UnsupportedOperationException: No accessor to set property @org.springframework.data.cassandra.core.mapping.PrimaryKeyColumn(ordering=ASCENDING, forceQuote=false, name=order_number, type=PARTITIONED, value=order_number, ordinal=0)private final java.lang.String test.com.zdc.tmp.persistence.entity.OrderEntity.orderNumber!
at test.com.zdc.tmp.persistence.entity.OrderEntity_Accessor_u9f29k.setProperty(Unknown Source) ~[periscope-persistence-0.0.1b191.jar!/:?]
at org.springframework.data.mapping.model.ConvertingPropertyAccessor.setProperty(ConvertingPropertyAccessor.java:61) ~[spring-data-commons-2.1.10.RELEASE.jar!/:2.1.10.RELEASE]
at org.springframework.data.cassandra.core.convert.MappingCassandraConverter.readProperty(MappingCassandraConverter.java:313) ~[spring-data-cassandra-2.1.10.RELEASE.jar!/:2.1.10.RELEASE]
at org.springframework.data.cassandra.core.convert.MappingCassandraConverter.readProperties(MappingCassandraConverter.java:300) ~[spring-data-cassandra-2.1.10.RELEASE.jar!/:2.1.10.RELEASE]
at org.springframework.data.cassandra.core.convert.MappingCassandraConverter.doReadEntity(MappingCassandraConverter.java:289) ~[spring-data-cassandra-2.1.10.RELEASE.jar!/:2.1.10.RELEASE]
at org.springframework.data.cassandra.core.convert.MappingCassandraConverter.doReadEntity(MappingCassandraConverter.java:274) ~[spring-data-cassandra-2.1.10.RELEASE.jar!/:2.1.10.RELEASE]
at org.springframework.data.cassandra.core.convert.MappingCassandraConverter.readEntityFromRow(MappingCassandraConverter.java:252) ~[spring-data-cassandra-2.1.10.RELEASE.jar!/:2.1.10.RELEASE]
at org.springframework.data.cassandra.core.convert.MappingCassandraConverter.readRow(MappingCassandraConverter.java:248) ~[spring-data-cassandra-2.1.10.RELEASE.jar!/:2.1.10.RELEASE]
Код OrderEntity.
@Table("test")
@Value
@Builder
public class OrderEntity {
@PrimaryKeyColumn(name = "order_number", ordinal = 0, type = PrimaryKeyType.PARTITIONED)
String orderNumber;