java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Calling cassandraOperations.insertAsynchronously with a Cassandra entity, a write listener, and write options keeps resulting to the below exception. I'm using spring-data-cassandra 1.2.0.RELEASE with Spring 4.1.5.RELEASE. No other spring-data artifacts are in the project dependency. {code} [INFO] [talledLocalContainer] SEVERE: Servlet.service() for servlet [spring-rest] in context with path [/Contrast] threw exception [Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.springframework.data.mapping.model.BeanWrapper.getProperty(Lorg/springframework/data/mapping/PersistentProperty;Ljava/lang/Class;)Ljava/lang/Object;] with root cause [INFO] [talledLocalContainer] java.lang.NoSuchMethodError: org.springframework.data.mapping.model.BeanWrapper.getProperty(Lorg/springframework/data/mapping/PersistentProperty;Ljava/lang/Class;)Ljava/lang/Object; [INFO] [talledLocalContainer] at org.springframework.data.cassandra.convert.MappingCassandraConverter$2.doWithPersistentProperty(MappingCassandraConverter.java:244) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.convert.MappingCassandraConverter$2.doWithPersistentProperty(MappingCassandraConverter.java:239) [INFO] [talledLocalContainer] at org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties(BasicPersistentEntity.java:257) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.convert.MappingCassandraConverter.writeInsertFromWrapper(MappingCassandraConverter.java:239) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.convert.MappingCassandraConverter.writeInsertFromObject(MappingCassandraConverter.java:233) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.convert.MappingCassandraConverter.write(MappingCassandraConverter.java:222) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.core.CassandraTemplate.createInsertQuery(CassandraTemplate.java:841) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.core.CassandraTemplate.doInsertAsync(CassandraTemplate.java:649) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.core.CassandraTemplate.insertAsynchronously(CassandraTemplate.java:307) ... {code}
    via by Noriaki Tatsumi,
  • Calling cassandraOperations.insertAsynchronously with a Cassandra entity, a write listener, and write options keeps resulting to the below exception. I'm using spring-data-cassandra 1.2.0.RELEASE with Spring 4.1.5.RELEASE. No other spring-data artifacts are in the project dependency. {code} [INFO] [talledLocalContainer] SEVERE: Servlet.service() for servlet [spring-rest] in context with path [/Contrast] threw exception [Handler processing failed; nested exception is java.lang.NoSuchMethodError: org.springframework.data.mapping.model.BeanWrapper.getProperty(Lorg/springframework/data/mapping/PersistentProperty;Ljava/lang/Class;)Ljava/lang/Object;] with root cause [INFO] [talledLocalContainer] java.lang.NoSuchMethodError: org.springframework.data.mapping.model.BeanWrapper.getProperty(Lorg/springframework/data/mapping/PersistentProperty;Ljava/lang/Class;)Ljava/lang/Object; [INFO] [talledLocalContainer] at org.springframework.data.cassandra.convert.MappingCassandraConverter$2.doWithPersistentProperty(MappingCassandraConverter.java:244) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.convert.MappingCassandraConverter$2.doWithPersistentProperty(MappingCassandraConverter.java:239) [INFO] [talledLocalContainer] at org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties(BasicPersistentEntity.java:257) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.convert.MappingCassandraConverter.writeInsertFromWrapper(MappingCassandraConverter.java:239) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.convert.MappingCassandraConverter.writeInsertFromObject(MappingCassandraConverter.java:233) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.convert.MappingCassandraConverter.write(MappingCassandraConverter.java:222) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.core.CassandraTemplate.createInsertQuery(CassandraTemplate.java:841) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.core.CassandraTemplate.doInsertAsync(CassandraTemplate.java:649) [INFO] [talledLocalContainer] at org.springframework.data.cassandra.core.CassandraTemplate.insertAsynchronously(CassandraTemplate.java:307) ... {code}
    via by Noriaki Tatsumi,
    • java.lang.NoSuchMethodError: org.springframework.data.mapping.model.BeanWrapper.getProperty(Lorg/springframework/data/mapping/PersistentProperty;Ljava/lang/Class;)Ljava/lang/Object; at org.springframework.data.cassandra.convert.MappingCassandraConverter$2.doWithPersistentProperty(MappingCassandraConverter.java:244) at org.springframework.data.cassandra.convert.MappingCassandraConverter$2.doWithPersistentProperty(MappingCassandraConverter.java:239) at org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties(BasicPersistentEntity.java:257) at org.springframework.data.cassandra.convert.MappingCassandraConverter.writeInsertFromWrapper(MappingCassandraConverter.java:239) at org.springframework.data.cassandra.convert.MappingCassandraConverter.writeInsertFromObject(MappingCassandraConverter.java:233) at org.springframework.data.cassandra.convert.MappingCassandraConverter.write(MappingCassandraConverter.java:222) at org.springframework.data.cassandra.core.CassandraTemplate.createInsertQuery(CassandraTemplate.java:841) at org.springframework.data.cassandra.core.CassandraTemplate.doInsertAsync(CassandraTemplate.java:649) at org.springframework.data.cassandra.core.CassandraTemplate.insertAsynchronously(CassandraTemplate.java:307)
    No Bugmate found.