title: Vaadin SpringBoot Autowire a @SpringView annotated class -> instantiation of ViewCache fails
body: <p>As topic says: shouldn't I be able to autowire a @SpringView annotaed class with vaadin and spring boot addon. I get an unsatisfied dependency exception. Adding @SpringComponent does not do the trick. Help appreciated</p>
  
  <p>Edit:
  I just want to Autowire a class that is annotaed @SpringView (autowireing @SpringCOmponent works apperently)
  I dug deeper and found that it has Failed to instantiate [com.vaadin.spring.internal.ViewCache]</p>
  
  <p>Code would be: </p>
  
  <pre><code>@SpringView
  Foo{
  }
  </code></pre>
  
  <p>full Exception is: </p>
  
  <pre><code>Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [cuscus.client.ui.presenter.LoginPresenter]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'viewCache' defined in com.vaadin.spring.VaadinConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.vaadin.spring.internal.ViewCache]: Factory method 'viewCache' threw exception; nested exception is java.lang.NullPointerException] with root cause
  </code></pre>
  
  <p>regards Chris</p>