最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

springboot啟動的一個錯誤,請問該怎么解決!

springboot啟動的一個錯誤,請問該怎么解決!

冉冉說 2018-07-06 11:11:04
簡單來說就是啟動springboot的時候,關(guān)于其一個依賴包報錯了,異常信息如下:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysUserController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysUserServiceImpl' defined in URL [jar:file: ../com/legend/module/legend-system-service/0.0.1-SNAPSHOT/legend-system-service-0.0.1-SNAPSHOT.jar!/com/legend/module/system/service/impl/SysUserServiceImpl.class]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Unexpected AOP exception; nested exception is java.lang.IllegalStateException: Unable to load cache item
查看完整描述

1 回答

?
慕婉清6462132

TA貢獻1804條經(jīng)驗 獲得超2個贊

老哥我也是這樣畢設(shè)就是做這個折騰了一天原因是 依賴的問題
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.9.RELEASE</version></parent><dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency></dependencies>

這個parent 和下面那個web的約束要匹配我之前分開來取的,然后就是tomcat啟動訪問404
所以你改一下依賴就好了,兩個記得要配對

查看完整回答
反對 回復(fù) 2018-07-29
  • 1 回答
  • 0 關(guān)注
  • 6311 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號