org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.gy.service.impl.DeptServiceImpl]; nested exception is java.io.FileNotFoundException: class path resource [com/gy/service/impl/DeptServiceImpl.class] cannot be opened because it does not exist
我百度發現別人都是[*.xml] cannot be opened because it does not exist 有問題 ,我的service層實作類DeptServiceImpl怎么會報這種錯誤啊,實在解決不了,百度遍了。求求大牛們幫幫小弟,在線等挺急的
uj5u.com熱心網友回復:

這是DeptServiceImpl
uj5u.com熱心網友回復:
容器檔案開頭也有包掃描 <context:component-scan base-package="com.gy"/>
uj5u.com熱心網友回復:

專案結構

我單獨寫了個測驗類結果,service報空指標?我是@autowired自動裝配的啊
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/141039.html
標籤:Java EE
