I have a spring-boot application that needs to:
I\
A workaround that is strongly inspired from https://youtrack.jetbrains.com/issue/IDEA-140041 is to start your main class with the test classpath (which includes the embedded servlet.)
Run -> Edit Configurations -> Add new configuration -> Pick Application type.Main class to Use classpath of module to <*>_test (the test module!)Ok and Run it!