Spring-boot 编写hello world

项目启动时出现如下报错信息:

Unrecognized VM option 'TieredStopAtLevel=1'
Could not create the Java virtual machine.

解决方法:原因是使用JDK1.6,不支持TieredStopAtLevel=1,需要安装JDK1.7版本,并设置JAVA_HOME。

posted @ 2017-07-27 11:26  shindoyang  阅读(642)  评论(0编辑  收藏  举报