idea报错:Cannot start compilation: the output path is not specified for module “Test“. Specify the out

       最近我在运行一个非maven项目时,配置好Tomcat之后,启动会报一个错误,如下:

 

idea报错:Cannot start compilation: the output path is not specified for module “Test“. Specify the out

 

         这是由于你没有设置output的路径才导致的报错,只需要点击ok跳转到以下界面修改如下配置即可:

 

idea报错:Cannot start compilation: the output path is not specified for module “Test“. Specify the out

 

            选择自己的项目,在项目路径下创建一个out目录,apply即可