Springboot + Stopping service [Tomcat]+ Process finished with exit code 0
在Springboot 的版本为:
<version>1.5.10.RELEASE</version>
原因:代码中有非法格式的结构,及代码写错啦,例如:
<resultMap id="getUserMap" type="com.handsight.platform.fras.pojo.EntityMap.VoUser">
//正确操作
<result property="useraccount" column="USERACCOUNT" ></result>
<result property="devicefigure" column="DEVICEFIGURE" ></result>
<result property="platform" column="PLATFORM" ></result>
//错误操作
<result property="pushkey" column="PUSHKEY" jdbcType="String"></result> //加入 jdbcType= 就会报错,并停止启动Tomcat,应去掉
</resultMap>