<strong id="0i0mg"><samp id="0i0mg"></samp></strong>
<menu id="0i0mg"><tt id="0i0mg"></tt></menu>
  • 更多>>Java程序設計 Blog

    The dependencies of some of the beans in the application context form a cycle: com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration

    SpringBoot在啟動時報錯:APPLICATION FAILED TO START, The dependencies of some of the beans in the application context form a cycle:com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration

    在啟動 SpringBoot 項目時,發現啟動失敗,所報錯誤如下:

    ***************************
    APPLICATION FAILED TO START
    ***************************
    
    Description:
    
    The dependencies of some of the beans in the application context form a cycle:
    
    ┌──->──┐
    |  com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration
    └──<-──┘

    這是 SpringBoot pagehelp 分頁運行依賴自循環錯誤。

    出現這種錯誤大多是由于 SpringBoot 版本和 pagehelp 版本不匹配導致的。

    解決方法:

    可以適當提高 pagehelp 的版本號,或是適當降低 SpringBoot 的版本號。

            <dependency>

                <groupId>com.github.pagehelper</groupId>

                <artifactId>pagehelper-spring-boot-starter</artifactId>

                <version>1.4.1</version>

            </dependency>

    具體的可以在 https://mvnrepository.com/ 網站中查找。

    更換版本號,再次啟動就正常了。


    評論列表

    暫時沒有相關記錄

    發表評論

    用來接收審核回復提醒,請認真填寫

      換一張?
    captcha
    看不清?點擊圖片換一張
    色视频免费观看,国外11孩岁女被A片免费观看,偷拍区小说区图片区激情另类,无码啪啪精品一区二区三区99,女人被c到喷水高潮视频,黄色免费在线观看视频