Overview
I can run the application by using maven plugin of spring-boot but not run it with the IDE. The following lines give some detail about my progr
I am guessing you have a war
packaging project with Maven and you've flagged your servlet engine (tomcat) as provided.
Unfortunately, IntellIJ IDEA does not add provided dependencies in the runtime classpath, that's why your project does not work when you run it from the IDE.
UPDATE 7/30/2019
As per Giorgio:
They have added a checkbox in the Application Run Configuration to "Include dependencies with 'Provided' scope"