I am using eclipse to try to run a simple project here. When I typed contents in eclipse, it says: The type javax.validation.Payload cannot be resolved
. It is indirectly referenced from required .class
files. In the example shown there, he used maven
and in my practice I haven't.
I also have maven plugin in eclipse m2e-wtp
latest and kepler
version of eclipse. I tried many websites, such as this one. 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 c:/programfiles
or any.
Is there a way to run the commands in eclipse(naive)? can some one give me a link to build sample maven project using m2e eclipse
?
Best Answer
I downloaded the application, and it ran fine on my computer. All I did was unzip and type:
I think you might be missing a transitive dependency (which Maven will automatically download), ensure you have all of these on your eclipse classpath:
My guess is this jar: