SpringBoot access content in less than a webapp

1. With the emergence of 404 static pages when we start a new project under springBoot access webapp with IntelliJ IDEA, and without any errors, but there is no problem with the eclipse start the project, solution: Click on run-edit configurations selected in the Working directory $ MODULE_WORKING_DIR $, you can restart the project

first step:

 

 Step two:

 

 Access to restart the project

Own door, water does not rot

Guess you like

Origin www.cnblogs.com/yunianzeng/p/11988764.html