title: java.lang.IllegalStateException: Bean factory must be instance of ListableBeanFactory, was null
body: <p>I'm creating a state machine object using the provided builder as follows:</p>
  
  <p><a href="http://docs.spring.io/autorepo/docs/spring-statemachine/1.1.x/reference/htmlsingle/#state-machine-via-builder" rel="nofollow">10.2 State Machine via Builder</a>
  <br>
  <br>
  I'm seeing the following exception:</p>
  
  <blockquote>
    <p>ERROR org.springframework.statemachine.support.StateMachineObjectSupport  - Unable to initialize annotation handlers
    java.lang.IllegalStateException: Bean factory must be instance of ListableBeanFactory, was null</p>
  </blockquote>
  
  <p>The exception isn't preventing the state machine from functioning as expected.  However, I would like to get down to the bottom of why I'm seeing this.</p>
  
  <p>Anyone know how I can stop this exception from showing?</p>
  
  <p>Thanks.</p>