Demo: reading the conditions evaluation report
On This Lesson 3 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
see why something was or was not configured; prepares JNR-011-LAB1.
Draft outline details
Step by step
- Start the Shop API with
--debug(ordebug=true). - Find the "CONDITIONS EVALUATION REPORT" in the log.
- Read "Positive matches": pick
DispatcherServletAutoConfigurationand the condition that matched. - Read "Negative matches": pick
DataSourceAutoConfigurationand note the missing class or bean. - Planned mistake: assume it is missing because of a bug; the report shows it is correctly skipped (no database starter present). Fix: confirm by adding the starter in a scratch branch and rerunning.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.