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>

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM