idea不显示目录结构解决

用maven命令行新建的项目,在idea中打开的时候不显示目录结构。

因为maven根据pom.xml打开工程项目, xml文件中没有说明目录结构。

解决方法: 右键pom.xml   ->  maven -> Generate Sources and Update Folders

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.