Spring WebApp Maven - Source folder is not on the Java build class path
问题 I am following this article to understand how to create a Java web application with Spring MVC.I created the web app project CounterWebApp at a separate location first ( mvn eclipse:eclipse -Dwtpversion=2.0 ) and then imported the whole project in Eclipse. I am having difficulty to put the BaseController.java in the correct package as stated in the article.It's either "Source folder is not on the Java build class path", OR BaseController.java is not getting created at the location ( /src/main