I'm doing a bit of a conversion on one of my project artifacts so that we can run it with spring boot instead of only deploying to jboss, as well as adding actuators. This has gone excellently, but in the process of making everything work on spring boot, I've broken the ability to deploy the WAR to jboss.
Specifically, I've added BuildInformation to our deployment information endpoint. Based on my understanding of actuators and build-info.properties creation, as well as literally every google result I've found while trying to find someone else with this problem, what I'm doing currently should be working. I have
compile 'org.springframework.boot:spring-boot-starter-actuator' in my subprojects section of gradle for my platform-level project (along with every other spring-boot dependency we use). The springBoot task is configured to run buildInfo(). The resultant WAR file has the build-info.properties file under /WEB-INF/classes/META-INF/. Everything appears to be put together exactly like it's supposed to be. And yet:
13:09:59,517 ERROR [org.springframework.web.servlet.DispatcherServlet] (ServerService Thread Pool -- 53) Context initialization failed: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pingController' defined in VFS resource ["<snip>/PingController.class"]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.boot.info.BuildProperties' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} Any thoughts on where I should be looking?