Maven项目出现Perhaps you are running on a JRE rather than a JDK?
- On your Eclipse IDE, go into Window > Preferences > Java > Installed JREs > and check your installed JREs. You should choose JDK folder there.
-
-
window --> preferrences --> Select the Execution Env as show below. Click OK
- Then Right-Click on your Project -> Maven -> Update Project
5、如果错误还是出现,看一下java类是否编译成.class文件,如果没有 参考 :http://blog.****.net/u013314786/article/details/49445407 文章进行排查