當(dāng)年齡超過150歲時出現(xiàn)空指針異常
目前的解決方法是新建一個map,能正確返回錯誤信息
Map<String, String> errorMsgMap = new HashMap<>();
result.setErrorMsgMap(errorMsgMap);
目前的解決方法是新建一個map,能正確返回錯誤信息
Map<String, String> errorMsgMap = new HashMap<>();
result.setErrorMsgMap(errorMsgMap);
2021-05-27
出現(xiàn)注冊失敗,原因?yàn)?。。?!?改為以下即可正常
<!--hibernate validator驗(yàn)證器-->
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>6.0.13.Final</version>
</dependency>
<!--hibernate validator驗(yàn)證器-->
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>6.0.13.Final</version>
</dependency>
2021-05-21
一直報錯 注冊失敗,原因?yàn)?..,
后來發(fā)現(xiàn)在register里UserPasswordDO userPasswordDO = convertPassordFromModel(userModel);前面少了一句 userModel.setId(userDO.getId());
這個在跟著視頻做的時候老師是沒有打的,在后面的章節(jié)移到這里的時候才看到,給大家提供一個排查錯誤的可能吧
后來發(fā)現(xiàn)在register里UserPasswordDO userPasswordDO = convertPassordFromModel(userModel);前面少了一句 userModel.setId(userDO.getId());
這個在跟著視頻做的時候老師是沒有打的,在后面的章節(jié)移到這里的時候才看到,給大家提供一個排查錯誤的可能吧
2021-05-18
Could not create connection to database server. Attempted reconnect 3 times. Giving up,到最后一步,接口連接后,總是無法連接數(shù)據(jù)庫,在網(wǎng)上找了好多方法,都未解決,求指導(dǎo)!
2021-05-03
我“創(chuàng)建失敗,原因未知”竟然是因?yàn)榘俣日业膱D片url太長了,超過了數(shù)據(jù)庫字段長度限制,真是被自己菜哭了o(╥﹏╥)o
2021-04-27
這樣寫的話,itemStock中的id和item_id應(yīng)該都是item_id吧,id應(yīng)該沒辦法自增,在BeanUtils中被覆蓋了
2021-04-23
在美國的朋友們 出現(xiàn)The server time zone value 'EDT' is unrecognized or represents more than one time zone.
請看這個:
https://blog.csdn.net/u014662563/article/details/61923884
請看這個:
https://blog.csdn.net/u014662563/article/details/61923884
2021-04-12
請問各位大佬 有沒有在run mybatis—generator的時顯示mybatis—generator—maven—pluginfailed
2021-03-26