I have the following error when I try to update maven dependencies from Eclipse (using mvn -U
is working fine):
Cannot nest 'project_name-web/src/main/resources' inside 'project_name-web/src'. To enable the nesting exclude 'main/' from 'project_name-web/src'
When I go at Java Build Path
I have only project_name-web/src
at it. As pointed here I don't have any sourceDirectory
tag at pom.xml
. Considering this answer, I would like to know why/where I should use this method to solve my problem since src/main/resources
is inside /src
. Why just main/
is required to be removed from JBP since it's this folder which has all .java
files?
Here's my project directory tree (names omitted for security):