Message: Method on class [com.xslznl.hxb.MDjbddj01] was used outside of a Grails application. If running in the context of a test using the mocking API or bootstrap Grails correctly. 出現這個原因是因爲在mapping裏配置的數據源datasource 'xxxx' 有問題 ,必須是 DataSource.groovy裏的dataSource_sqxxh下劃線後邊的不能寫dataSource_sqxxh全名
If running in the context of a test using the mocking API or bootstrap Grails correctly
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
糟糕,被SimpleDateFormat坑到啦!| 京東雲技術團隊
原創
2024-02-18 12:40:56
【ChatGPT應用篇】助力Beauty代碼的初體驗 | 京東雲技術團隊
原創
2023-06-05 11:49:20
PHP:草根創業的最愛
原創
2022-04-30 11:17:55
Spring Boot中添加Thymeleaf模板
原創
2022-04-30 10:02:20
開源共同體 -- 程序員的烏托邦
微衆開源
2022-04-30 09:47:55
Android代碼混淆及ProGuard手冊
原創
2022-04-30 06:18:45
Groovy多行字符串有什麼問題? - What's wrong with Groovy multi-line String?
fyin1314
2021-12-28 21:18:06
Java 程序員必須掌握的 10 款開源工具!
原創
2021-09-09 21:29:17
拿得出手的愛好,對你有多重要?
八音弦
2021-09-06 21:15:05
sqlserver MERGE 異常
原創
2024-05-09 12:41:29
【自用】關於微信小程序的合法域名列表,
微信小程序真機調試時出現了,Error: request:fail url not in domain list:api.xxx.com 需要把網址添加到合法域名中,見圖 --- 自用 不解釋
原創
2024-04-28 00:18:12
短視頻文案提取原來如此簡單
原創
2024-04-22 23:33:29
Monibuca v5 實現熱重啓
原創
2024-04-15 12:52:57