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