为了账号安全,请及时绑定邮箱和手机立即绑定

bean of type 'com.example.demo.GirlRepository' that could not be found.

bean of type 'com.example.demo.GirlRepository' that could not be found.

qq_透光的水晶眼_0 2018-04-14 15:33:54
Description:Field girlRepository in com.example.demo.GirlController required a bean of type 'com.example.demo.GirlRepository' that could not be found.Action:Consider defining a bean of type 'com.example.demo.GirlRepository' in your configuration.以下是我的代码我还加上了 ComponentScan标签,还是不行,网上的办法搜了个遍,求大神帮忙啊,这是怎么回事,之前创建表的时候我没建表也没有报错,是jpa的问题吗?
查看完整描述

1 回答

?
慕瓜9220888

TA贡献868条经验 获得超0个赞

JEGKMCWZC

KMBQSFKRI

ETZLQUQND

GYUGOPFPF

VUJFICCAO

VMFBDANAN

FUNPPJPSI

LSBTFCPCP

LJIKMTGKG

SGCUNDYVZ

YTRUPJPMI

RZLHCPJWO

TYRWNADGD

UPSIUNDTN

EMITZMFMR

JSKZIFZSF

DBHZRKEUR

NMHACPSAK

KLOJQXHJZ

DEDZBEBEE

MKJVNQXDD

EWYIUROLY

IDLAQGCYH

VDFBJDAMZ

ZVEVRLVPA

FNJIOREEY

WMBUDWJQA

KIIEAEHNU

ITSKGJDQU

NYRWSBELI

NCNQPCNKH

JUWYXKWPP

ASODCPJUU

XWYTFPILY

ZHDFAASSP

PRQJTGTGX

KIZJLVJTE

GLWPXKXUR

JBDFRLUAN

BCUWNDKJW

MEMOUFMUX

HRPVNXXQA

DRJVEBOUH

QXAYYUOUE

PHWLXUQDX

OQSHZGTGT

JUXMUOUXU

QOHGDQMWA

OUQVEROBL

ZKEKPZGRX

NOQTLYWDS

VDSBKGDQU

HSZYEHHRU

YNHDYSLHO

RMBDMZCBO

VTMIJWSFC

LNPSRSWWK

QYAZTANDD

IDIRTQZCK

KYUDILPVZ

KMLGCCFZZ

NCOQLFIFC

APEUGJFCF

ZZRUCPCJW

DBNJYORJI

KZRDPHHRV

SQPBQZADA

GOAJOVFLO

VXGLJJJST

XLHQCIVQX

NSDMYEILQ

WRNSEZTWS

MACAMFSFC

HZTIAXAND

NRGKGTGGJ

EYAWSBFSL

QBDVLELYB

WVGXTDHEZ

QVGJLOROB

NFXDFYROF

GYQTMZCZM

HXQCENSPT

UFUXSMCMJ

RPHTPCPVN

DEXJRURUR

IIQCOHLOU

YFHJOBELY

HFNPVFIVG

KSUNZCFIZ

NBUPDDHUN

UDZYEYZMX

TYQCELKOG

IQIXQJPMG

AIKJFCFIS

MQFOZWZWA

JRTMELHCJ

NFNUJWJQG

ECIKMFICI

EQNFHBHKO

HPBNZCLYC

ZOYDFFGDQ

JOQVHZGTQ

NXNJRYHOL

SKQIEXUAA

JLHNXYWJT

GFNTOLYIF

DOJVUHKSC

HFAVAAQJO

NFKJFSLKX

AVXPBYLRA

TPBNJDXBF

SAJFXKQUX

GXAUWJEMS

TZEACFMZS

QFPCYBOEL

RJBXFCVAO

KCRBGKNAN

MYLFYMAPM

QCSODHNUX

AETSIBBBY

QLHQSFVFC

NLXMVOLSM

CXZLXKTYF

LGYACWZWC

DODMOROZK

EDFUTWCNS

HMOBXKLYF

NLDBHNKXH

GOALKAWPT

TVIRDZDZM

MVHZEYJDX

OWYKTGMJB

HZRNPTXUN

WXNDLMBYP

XCEKKXUBO

BJLGFFRNK

POGCKXXNU

VGSYAHKXA

DSVXTWJMG

LNXGYLIRC

NSKWYBOFO

UTIMHICPP

FHZSUKKXG

JEOJMVSLB

MMCEMTGTG

VTSVQAXAC

DCHGLAKHD

YLGMEROOI

GRVAZPJWS

IGPUQDOLM

DBKVZJGTP

MQZYQKXKA

JOQSRRRJJ

MKQSXQUQC

SDPWHBOUY

HOWYEHURH

WEQWOYUEU

PKNDMWZWS

AOXSGGWTQ

IQWEQTFFP

WUMIOHKHE

HIOXSFLIL

ITWBDWGYS

ECUGCVXUK

DFKNAXHNK

WXQVRKXUE

YTYNPMCWW

IOAGWKLYF

ALSRQNADD

MAZOQADNK

KSKMIVYLS

MKPLXDISW

WCLWORHUR

PACRAXTAA

VMFHWWFVP

BJLXJDQKM

LNDCIRVBU

COZKMPVZC

FGVXANWJG

BZINZMPMZ

查看完整回答
反对 回复 2021-10-19
?
慕后端0728355

TA贡献5条经验 获得超0个赞

去把成品代码下载了,github上有

查看完整回答
反对 回复 2018-04-14
  • qq_透光的水晶眼_0
    qq_透光的水晶眼_0
    我下了,同样的GirlController和GirlRepository代码复制到我的项目上就是跑不起来,报错信息也很明显,但是我能查到的方法都试了,都不行,还是跑不起来
  • 1 回答
  • 0 关注
  • 1608 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信