cnblogs/dcrenl/@autowired注解报错原因及解决办法.html
2024-09-24 12:43:01 +08:00

2 lines
154 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>@autowired 注入dao层的时候标红报错但不影响编译使用</p>
<p>按照严格的spring注解方式在dao层加入@Repository注解</p>