IDEA starter cannot find working directory using SpringApplication.run



I am an idea and a rookie of springboot. Today, I follow the tutorial to start learning springboot. Who knows that the process is correct, but it always reports an error. The specific error content is as follows.


报错如下:Error running ‘DemoController’:cannot stat process,the working directory 'E:\springbootDemo1\springbootdemo1' dose not exist ;

The solution is as follows: run——”editConfiguration——”configuration——”working directory——”select $MODULE_DIR$, this will solve the problem! ! !

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325898996&siteId=291194637