2025年4月4日
摘要:
?在project structure手動(dòng)導(dǎo)入 搞定
閱讀全文
posted @ 2025-04-04 21:05
賈肅
閱讀(14)
推薦(0)
2023年5月31日
摘要:
是這樣的,今天跟著寫(xiě)springboot項(xiàng)目的時(shí)候,前端登錄的時(shí)候報(bào)403錯(cuò)誤。檢查了半天,是后端的問(wèn)題 報(bào)錯(cuò)代碼: 第二句 報(bào)錯(cuò)提示如下 說(shuō)是JSONArray不能轉(zhuǎn)String,但我這也不是JSONArry轉(zhuǎn)String而是Object轉(zhuǎn)String啊。 網(wǎng)上搜了半天,用了好多種方法也沒(méi)什么用
閱讀全文
posted @ 2023-05-31 15:30
賈肅
閱讀(2369)
推薦(0)
2023年5月30日
摘要:
添加如下配置即可 1.在pom.xml添加 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <versio
閱讀全文
posted @ 2023-05-30 22:35
賈肅
閱讀(301)
推薦(0)
摘要:
在自己的maven倉(cāng)庫(kù)中按路徑org/springframework/boot/spring-boot-maven-plugin找到它的版本號(hào),在依賴下添加即可
閱讀全文
posted @ 2023-05-30 22:29
賈肅
閱讀(156)
推薦(0)
2023年5月27日
摘要:
額, org.xml.sax.SAXParseException: cvc-id.2: There are multiple occurrences of ID value,見(jiàn)名知意,就是id重復(fù)了,檢查下你的報(bào)錯(cuò)的xml文件,把id改了就行。
閱讀全文
posted @ 2023-05-27 15:50
賈肅
閱讀(271)
推薦(0)
2023年5月25日
摘要:
在學(xué)習(xí)SpringSecurity,測(cè)試項(xiàng)目登錄功能時(shí)報(bào)此異常。檢查發(fā)現(xiàn)是使用md5算法進(jìn)行校驗(yàn)密碼而數(shù)據(jù)庫(kù)密碼并未加密導(dǎo)致。只需將數(shù)據(jù)庫(kù)中用戶表的密碼加密即可通過(guò)驗(yàn)證,登陸成功。
閱讀全文
posted @ 2023-05-25 15:30
賈肅
閱讀(991)
推薦(0)
2022年10月19日
摘要:
之前學(xué)過(guò)輸出重定向: 將輸出改向(到某一文件) [root@tian diry]# cat > 1.txt 這是1.txt [root@tian diry]# cat 1.txt 這是1.txt 這里將標(biāo)準(zhǔn)輸出流(顯示器)改向到文件1.txt,所以cat 1.txt可以看到改向內(nèi)容 現(xiàn)在我有個(gè)疑惑
閱讀全文
posted @ 2022-10-19 15:31
賈肅
閱讀(38)
推薦(0)