Import your Bazel workspace into IntelliJ using the IJ plugin
Navigate to the springboot app main java file in intellij.
Right click and 'Run as Bazel target' (or debug, doesn't matter).
Notice the following stack trace:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.boot.info.GitProperties' available: expected at least 1 bean which qualifies as autowire candidate
The workaround is to create an empty git.properties file in src/main/resources
Repro:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.boot.info.GitProperties' available: expected at least 1 bean which qualifies as autowire candidate
The workaround is to create an empty git.properties file in src/main/resources