Spring Boot provides a very useful report to tip you off about what it's doing. There are different ways to turn on the report, shown as follows:
--debugas a program argument. Then run it.
./gradlew clean build && java -jar build/libs/network-monitor-0.0.1-SNAPSHOT.jar --debug.
If you try to put
--debug into the
gradlew command, it will signal
gradlew itself to generate a debug trail and not get passed on to the app.
The results should look something like this:
========================= AUTO-CONFIGURATION REPORT ========================= Positive matches: ----------------- ActiveMQAutoConfiguration - @ConditionalOnClass classes found: javax.jms.ConnectionFactory,org.apache.activemq.ActiveMQConnectionFactory ...