l πŸ€– μ½”λ“œ l

μŠ€ν”„λ§ 404μ—λŸ¬ ν•΄κ²°/ μŠ€ν”„λ§ could not autowire fieldμ—λŸ¬/ no matching bean of typeμ—λŸ¬

CODEGREAM 2020. 5. 26.
λ°˜μ‘ν˜•

μŠ€ν”„λ§ 404μ—λŸ¬ ν•΄κ²°/ μŠ€ν”„링 could not autowire fieldμ—λŸ¬/ no matching bean of typeμ—λŸ¬

 

 

μ—λŸ¬λ₯Ό ν•΄κ²°ν•΄λ΄…μ‹œλ‹€!!

 

자, μŠ€ν”„λ§μ„ μ‹œμž‘ν–ˆλŠ”λ° 어김없이 404μ—λŸ¬κ°€ λ–΄κ³ μš©!

 

μ½˜μ†”μ°½μ„ μΆ”μ ν•΄λ΄…λ‹ˆλ‹€.

 

자 μ²˜μŒμœΌλ‘œλŠ”,

'homeController' : : Injection of autowired dependencies failed;

 

 

더 μ˜†μœΌλ‘œ κ°€λ³΄λ‹ˆ, 

could not autowire field

 

 

더더 μ˜†μœΌλ‘œ κ°€λ³΄λ‹ˆ,

no matching bean of type μ—λŸ¬κ°€ λ–  μžˆλ„€μš”!

 

 

 

μ•Œκ³ λ³΄λ‹ˆ bizImplμ—μ„œ @Repository μ•ˆν•΄μ€¬λ”λΌκ³ μš¬γ…‹γ…‹γ…‹γ…‹γ…‹γ…‹γ…‹γ…‹

ν˜Έλ‹€λ‹₯ annotation μΆ”κ°€ν•΄μ₯½λ‹ˆλ‹Ή 히히

 

 

γ…‹γ…‹γ…‹γ…‹γ…‹γ…‹γ…‹γ…‹γ…‹γ…‹μ˜ΌμΌ€μžŒ!

였늘 μ—λŸ¬ ν•΄κ²°!

λ°˜μ‘ν˜•

λŒ“κΈ€

πŸ’² μΆ”μ²œ κΈ€