1. 程式人生 > >java出現的異常及處理方法

java出現的異常及處理方法

1、MyBatis中資料返回型別不對,情況如下:

(1)Mapper method 'com.forms.jms.webapp.systemmanage.doc.dao.DocDAO.delete' has an unsupported return type: class [I

2、The request was rejected because the URL contained a potentially malicious String ";"

解決方法:Spring boot中application-dev.properties檔案

jms.security.social.cas.app-id = key2541(自己的key)

jms.security.social.cas.app-secret = secret2541