Hi Folks,
I added JPA to my app and Togglz now errors when I start the app with:
'Error creating bean with name 'demoResource': Injection of autowired dependencies failed; nested exception is java.lang.IllegalStateException: Could not find the FeatureManager. For web applications please verify that the TogglzFilter starts up correctly. In other deployment scenarios you will typically have to implement a FeatureManagerProvider as described in the 'Advanced Configuration' chapter of the documentation.'
Seems to be some clash as Togglz config beans are not getting created before the feature manager triggers and the cache ends up with no classes, hence the null issue above - where before JPA all was good.
POM dependencies are below - anyone solved this or similar?
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.13.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.togglz</groupId>
<artifactId>togglz-spring-boot-starter</artifactId>
<version>2.5.0.Final</version>
</dependency>
I also tried Togglz 2.6.1.Final and Spring Boot 2.1.8.RELEASE.
Cheers,
Rich