How to create a src/main/resources directory?
<p>All my classes were working fine. Then I wanted to create <code>main/resources</code> to add <code>logback.xml</code> in <code>main/resources</code> in my project</p>

<p>I got help from <a href="https://stackoverflow.com/questions/22914927/creating-a-src-main-java-folder-structure-in-eclipse-without-maven">"How to create main/java inside src"</a></p>

<p>But after creating the folders I am getting errors in all my classes, and the main folders were converted into packages</p>

<p><a href="https://i.stack.imgur.com/olEJy.png" rel="noreferrer"><img src="https://i.stack.imgur.com/olEJy.png" alt="directory structure"></a></p>

<p>How can I add the folder main/resources in my src folder?</p>

<p>Or is there any way to add <code>logback.xml</code> in any package in spring MVC?</p>