The dependencies of some of the beans in the application context form a cycle:
啟動服務報錯 :
┌─────┐ | userServiceImpl defined in file [D:\IdeaProjects\pro_new\diich-ecology\diich-biz\diich-biz-core\out\production\classes\com\diich\biz\service\core\UserServiceImpl.class] ↑ ↓ | favoriteServiceImpl defined in file [D:\IdeaProjects\pro_new\diich-ecology\diich-biz\diich-biz-core\out\production\classes\com\diich\biz\service\core\FavoriteServiceImpl.class] └─────┘ 原因:service層 互相引用。
注入方式用的是@RequiredArgsConstructor 註解final方式注入 報錯。
改變注入方式為@Autowired 成功解決
相關推薦
The dependencies of some of the beans in the application context form a cycle:
啟動服務報錯 : ┌─────┐ | userServiceImpl defined in file [D:\IdeaProjects\pro_new\diich-ecology\diich-biz\diich-biz-core\out\production\classe
SpringBoot2 初始資料庫迴圈依賴 The dependencies of some of the beans in the application context form a cycle
今天做初始化資料庫,報一下異常 *************************** APPLICATION FAILED TO START *************************** Description: The dependencies of s
ValueError: This solver needs samples of at least 2 classes in the data, but the data contains only
sklearn報錯: ValueError: This solver needs samples of at least 2 classes in the data, but the data contains only one class: 0.0 博主是在使用sklearn.learning
Found 2 versions of android-support-v4.jar in the dependency list,The type android.support.v4.app.Fr
1、 Found 2 versions of android-support-v4.jar in the dependency list, but not all the versions are identical (check is based on SHA-1 only at t
Results of printf() and system() are in the wrong order when output is redirected to a file
I have a C program that compiles to an executable called myprogram. This is its main function: int main(int argc, char ** argv) { printf("this is
Embracing the future of AI and wearable tech in the workplace
The modern workplace has already embraced advanced technology with smart devices, paperless workplaces, cloud services and wearable tech that tracks employ
The fusion of AI, ML, and Voice in the Contact Center
Powerful technologies are fusing in the contact center with artificial intelligence (AI), machine learning, and voice recognition being the focal point in
The 3 Skills Leaders Need to Succeed in the Age of Artificial Intelligence
AI is here - and it's introducing an age of empowerment for executives. In the past decade, advances in machine learning and the growing availability of da
The Physics Of Why Timekeeping First Failed In The Americas
For millennia, humanity’s one-and-only reliable way to keep time was based on the Sun. Over the course of a year, the Sun, at any location on Earth, would
【liangge的專欄】You can fool all the people some of the time, and some of the people all the time, but you cannot fool all the peopl
You can fool all the people some of the time, and some of the people all the time, but you cannot fo...
控制檯報錯Found 2 versions of android-support-v4.jar in the dependency list解決方法
此錯誤一般為匯入新工程時所報。具體資訊如下: Found 2 versions of android-support-v4.jar in the dependency list, but not all the versions are identica
android 開發問題集(一):SDK更新後 執行程式報錯Location of the Android SDK has not been setup in the preferences
問題描述:android跟新後報錯location of the android sdk has not been setup in the preferences。eclipse裡的SDK Manager也打不開 原因:android跟新後ADT的版本過低造成的,但是有的人又因為跟新ADT失敗導致,也
[WPF]The type name ‘App’ does not exist in the type '...'的問題
-s tar type quest blog alt http 再次 ges refer to: https://stackoverflow.com/questions/4480087/wpf-the-type-name-app-does-not-exist-in-the-
mac上 go-delve 安裝出現The specified item could not be found in the keychain 解決方法
mon pen 方法 rar spec hub 錯誤 sys lib 安裝go語言的編譯環境,在安裝到 delve時候出現如下錯誤: If reporting this issue please do so at (not Homebrew/brew or Hom
The method setDate(int, java.sql.Date) in the type PreparedStatement is not applicable for the argum
The method setDate(int, java.sql.Date) in the type PreparedStatement is not applicable for the arguments (int, java.util.Date) preparedStatement
Pupil's brain recognizes the perfect teacher: Social brain lights up in juvenile songbirds that find a singing mentor
Young male zebra finches must learn to copy the song of an adult tutor in order to ultimately attract a mate. Researchers already knew that juveniles don'
關於svn: E155032: The pristine text with checksum was found in the DB but not on disk問題
#開啟記錄資料庫 sqlite3 .svn/wc.db #把下面的your missing pristine here 替換為出錯檔案的sha1值, #(例子中為9db7aaf659d97e6f670cec484f27ba25aacbd75e),注意前面的$sha1$要保留 sqlite>
在keychain tool裡,Request a certificate時,出錯''The specified item could not be found in the keychain"
解決辦法是:restart keychain tool, and then 在keychain tool裡,不要選擇"keys" item,應該選擇"all items",and then try again! (make sure you see "Let me spec
Some of the best Open Source Project's in VC++ & MFC
Introduction List of some of the best Open Source projects written in VC++/MFC. Background Codeproject has the best source code repository for VC++ de
Ask HN: What are some of the dark sides of being in the tech industry?
Computers always had an aura of infallibility to me as a kid. But learning to program taught me that they're only as infallible as their creators, program