Spring-boot 编写hello world

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

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

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

原文地址:https://www.cnblogs.com/shindo/p/7243900.html