java.lang.NoSuchMethodError: org.springframework.data.mapping.model.BeanWrapper.getProperty(Lorg/springframework/data/mapping/PersistentProperty;Ljava/lang/Class;)Ljava/lang/Object;

Spring JIRA | Noriaki Tatsumi | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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}

    Spring JIRA | 2 years ago | Noriaki Tatsumi
    java.lang.NoSuchMethodError: org.springframework.data.mapping.model.BeanWrapper.getProperty(Lorg/springframework/data/mapping/PersistentProperty;Ljava/lang/Class;)Ljava/lang/Object;
  2. 0

    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}

    Spring JIRA | 2 years ago | Noriaki Tatsumi
    java.lang.NoSuchMethodError: org.springframework.data.mapping.model.BeanWrapper.getProperty(Lorg/springframework/data/mapping/PersistentProperty;Ljava/lang/Class;)Ljava/lang/Object;
  3. 0

    Spring Data Cassandra issue when trying to connect from another Spring app configuration/Context

    Stack Overflow | 2 years ago | Rajiv Srivastava
    java.lang.NoSuchMethodError: org.springframework.data.mapping.model.BeanWrapper.getProperty(Lorg/springframework/data/mapping/PersistentProperty;Ljava/lang/Class;)Ljava/lang/Object;] with root cause java.lang.NoSuchMethodError: org.springframework.data.mapping.model.BeanWrapper.getProperty(Lorg/springframework/data/mapping/PersistentProperty;Ljava/lang/Class;)Ljava/lang/Object;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Spring Data Cassandra - Core
      MappingCassandraConverter$2.doWithPersistentProperty
      1. org.springframework.data.cassandra.convert.MappingCassandraConverter$2.doWithPersistentProperty(MappingCassandraConverter.java:244)
      2. org.springframework.data.cassandra.convert.MappingCassandraConverter$2.doWithPersistentProperty(MappingCassandraConverter.java:239)
      2 frames
    3. Spring Data Core
      BasicPersistentEntity.doWithProperties
      1. org.springframework.data.mapping.model.BasicPersistentEntity.doWithProperties(BasicPersistentEntity.java:257)
      1 frame
    4. Spring Data Cassandra - Core
      CassandraTemplate.insertAsynchronously
      1. org.springframework.data.cassandra.convert.MappingCassandraConverter.writeInsertFromWrapper(MappingCassandraConverter.java:239)
      2. org.springframework.data.cassandra.convert.MappingCassandraConverter.writeInsertFromObject(MappingCassandraConverter.java:233)
      3. org.springframework.data.cassandra.convert.MappingCassandraConverter.write(MappingCassandraConverter.java:222)
      4. org.springframework.data.cassandra.core.CassandraTemplate.createInsertQuery(CassandraTemplate.java:841)
      5. org.springframework.data.cassandra.core.CassandraTemplate.doInsertAsync(CassandraTemplate.java:649)
      6. org.springframework.data.cassandra.core.CassandraTemplate.insertAsynchronously(CassandraTemplate.java:307)
      6 frames