java自定义类中jdbctemplate为null

摘要: 个人笔记,更详细可看csdn文章:https://blog.csdn.net/qq_41876436/article/details/80944020 自定义类 @Service public class MyDBHandle { Resource private JdbcTemplate jdbcTemplate; } 在其他类调用(不传入外部JdbcTemplate,通过自动注入实现) MyD 阅读全文
posted @ 2019-10-21 17:03 3SU 阅读(1905) 评论(0) 推荐(0)