How to create a src/main/resources directory?

后端 未结 10 1075
夕颜
夕颜 2020-12-14 18:57

All my classes were working fine. Then I wanted to create main/resources to add logback.xml in main/resources in my project

I

10条回答
  •  情深已故
    2020-12-14 19:22

    Since you're not using Maven, you shouldn't be creating the src/main/resources folder. Just put logback.xml in the src folder.

    Also move your java files (with their entire package folder structure) back to src as they were before creating the main/resources.

提交回复
热议问题