title: The type javax.validation.Payload cannot be resolved. It is indirectly referenced from required .class files
body: <p>I am using eclipse to try to run a simple project <a href="http://www.mkyong.com/spring-mvc/spring-3-mvc-and-jsr303-valid-example/" rel="nofollow">here</a>. When I typed contents in eclipse, it says: <code>The type javax.validation.Payload cannot be resolved</code>. It is indirectly referenced from required <code>.class</code> files. In the example shown there, he used <code>maven</code> and in my practice I haven't. </p>
  
  <p>I also have maven plugin in eclipse <code>m2e-wtp</code> latest and <code>kepler</code> version of eclipse. I tried many websites, such as <a href="http://viralpatel.net/blogs/generate-dynamic-web-project-maven-eclipse-wtp/" rel="nofollow">this one</a>. Here he used command window and used some commands, but when I tried in my pc, it didn't work. I think maven needs to set in my environment variable. That means I have to install maven in my <code>c:/programfiles</code> or any. </p>
  
  <p>Is there a way to run the commands in eclipse(naive)? can some one give me a link to build sample maven project using <code>m2e eclipse</code>?</p>