![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SSM
断然Juvenile
挤进优秀圈使自己变强富足
展开
-
Spring整合Junit
今天在卸载印象笔记时候,偶然看到之前留存的相关学习笔记, 删除可惜,索性博客备份一下。 1. 导入Junit Jar包 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> ...原创 2020-04-15 12:36:28 · 95 阅读 · 0 评论 -
Spring Account without Xml
Spring Account without Xml 1. 配置类,作用和bean.xml一样 1. 注解 1.@Configuration 作用:指定当前类是一个配置类、 细节:当配置类作为AnnotationConfigApplicationContext对象创建的参数时,该注解可以不写。 2.@ComponentScan 作用:用于通过注解指定spring在创建容器是时要扫描的包 属性...原创 2020-04-15 12:35:00 · 101 阅读 · 0 评论