Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5 M1 (Ingalls)
    • Fix Version/s: None
    • Component/s: Core
    • Environment:
      Windows 7 , IntelliJ
    • Platform:
      Tomcat - 7.0
    • Last commented by a User:
      true

      Description

      I have a bean defined in CassandraConfig (extends AbstractCassandraConfiguration)

       @Bean
          public CassandraAdminOperations cassandraTemplate() throws Exception {
              return new CassandraAdminTemplate(session().getObject(), cassandraConverter());
          }
      

      In the spring rest controller I am using :

      @Autowired
          private CassandraAdminOperations adminTemplate;
      

      Running Application gives me this error :

      ***************************
      APPLICATION FAILED TO START
      ***************************
      
      Description:
      
      Field adminTemplate in com.health2047.authentication.service.AuthenticationService required a bean of type 'org.springframework.data.cassandra.core.CassandraAdminOperations' that could not be found.
      
      Action:
      
      Consider defining a bean of type 'org.springframework.data.cassandra.core.CassandraAdminOperations' in your configuration.
      

      During debug, we saw that bean definition never gets called.

        Attachments

          Activity

            People

            Assignee:
            mp911de Mark Paluch
            Reporter:
            waliusmani Wali Usmani
            Last updater:
            David
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 41 weeks, 2 days ago