Cannot nest ‘PRJ/src/main/resource’ inside ‘PRJ/src’

Posted in IT StuffTagged ,

I created a new Web application using Eclipse and, after Enabling Maven, I get this error updating the project: Cannot nest ‘PRJ/src/main/resource’ inside ‘PRJ/src’. To enable the nesting exclude ‘main/’ from ‘PRJ/src’Cannot nest ‘PRJ/src/main/resource’ inside ‘PRJ/src’. To enable the nesting exclude ‘main/’ from ‘PRJ/src’ Basically I removed the folder /src and create folder /src/main/java, /src/main/resources….

Dynamic Web Module 3.0 requires Java 1.6 or newer

Posted in IT StuffTagged ,

I’m using STS and I configured my Web application to use Maven but, when I try to use Maven > Update project configuration, I’m getting this really annoying project error: Dynamic Web Module 3.0 requires Java 1.6 or newer. […] Maven WTP Configuration Problem One or more constraints have not been satisfied.Dynamic Web Module 3.0….