一个窗口打开多个项目

        file-new-Module from existing sources

一个项目开一个窗口  Open 即可

springboot application.yml/appilication.properties文件变成灰色:

  ·  1、先看有没有设置资源

idea 使用 笔记

    2、在build中设置

      <build>

        <resources>

            <resource>

                <directory>src/main/resources</directory>

            </resource>

        </resources>

    </build>

    3、file - project structure - modules --选中项目 ---dependencies  点击右侧 + 号  ---jars or directories  选中resource 文件夹   确定即可

    


--------------------------------------后续

相关文章:

  • 2021-08-01
  • 2021-11-19
  • 2022-01-28
  • 2021-10-04
  • 2021-12-07
  • 2021-10-26
  • 2021-07-13
猜你喜欢
  • 2021-04-19
  • 2021-10-19
  • 2021-10-01
  • 2021-12-30
  • 2021-07-01
相关资源
相似解决方案