Issue
I am getting a myriad of exceptions trying to run my spring boot project in Eclipse. What they have in common is a "re-run your application with 'debug' enabled" How exactly is this done?
- A maven setting ?
- Use the debugger ?
- A command line argument ?
- A vm argument ?
- A spring application settings ?
I tried a few to no avail. Your assistance much appreciated!
Solution
Adding the following line
debug=true
to the application.properties
or application.yml
, file should help. You'll get more detailed logging. Generally, if you want to see more fine-grained log messages from all members of a given package, you can set that by adding a line such as
logging.level.<package_name>=<LOGGING_LEVEL>
for example:
logging.level.org.springframework.context=DEBUG
These log messages may be helpful to find the core of the problem (in this case why a given exception was thrown)
Answered By - Joe Doe
Answer Checked By - Cary Denson (JavaFixing Admin)