IntelliJ can't find classpath test resource

后端 未结 7 890
你的背包
你的背包 2020-12-02 14:18

I\'m having a problem where IntelliJ 13.1.4, when running a unit test, can\'t find a ServiceLoader file in the src/test/resources directory of my m

7条回答
  •  甜味超标
    2020-12-02 14:42

    When there is a multi-module project, IntelliJ tends to set the top module as the working directory. If this this the case, one can try changing it to the sub-module directory.

提交回复
热议问题