原因:新建目录之后需要设置目录作用,从而让idea识别。
方法:File-Project Structure
对几种目录类型解释如下:
转载于:https://www.cnblogs.com/dark-passion/p/11023755.html