read properties file in multi module project

后端 未结 2 1453
旧时难觅i
旧时难觅i 2021-01-23 08:46

Hi I have a project which has two modules with the following structure

project
│ └───Module1 │ |---abc.jsp │
│ ├───Mod

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-23 09:48

    Try this :

    ClassLoader classLoader = Thread.currentThread().getContextClassLoader();

提交回复
热议问题