title: What is the difference between src/main/java and src in Springsource Tool
body: <p>I'm learning to use Springsource Tool Suite (STS) and the Spring framework for development. I am trying out the Amazon AWS SDK for eclipse and decided to install it into STS. When I follow create a new AWS project, it puts the .java file under src instead of src/main/java and when I try to build that, it says </p>
  
  <p>"There is no main"
  or something like that.</p>
  
  <p>But, when I move the AwsConsoleApp.java and the AwsCredentials.properties to src/main/java then (default package), I can run the file as a Java application.</p>
  
  <p>My question is, what is the difference between <code>src/main/java</code> -> default package and src -> main. I've attached an image to clarify things:</p>
  
  <p><img src="https://i.stack.imgur.com/dSl0x.jpg" alt="Project_Explorer_View"></p>