新增數據時報 java.sql.SQLException: Field 'id' doesn't have a default value mybatis-plus的insert方法,在底層會默認生成一個Long類型的UUID,這就導致跟數據庫里面類型不一致,把數據庫默認自增的主鍵給禁了 主鍵生成方式類型如下
Cannot set property 'innerHTML' of null 問題的解決 參考文章: 對象不支持setproperty、(1)Cannot set property 'innerHTML' of null 問題的解決 (2)https://www.cnblogs.com/ryanzheng/p/10397108.html 備忘一下。
這兩天修改以前頁面的時候,同時套上MasterPage,結果在幾個頁面上卻出現了以下錯誤 Invalid postback or callback argument.? Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventV
“ Invalid property ‘teacher’ of bean class [com.deserts.spring.mod.Student]: Value of nested property ‘teacher’ is null”內部嵌套對象為空 問題:在測試級聯屬性賦值時,直接給teacher屬性賦值,會出現對象teacher是空的錯誤(teacher是