
框架
sidanchen
这个作者很懒,什么都没留下…
展开
-
ssm框架整合
今天第一次整合ssm框架,记录一下全过程备录 spring.xml配置: <context:component-scan base-package="com.bbs"> <context:exclude-filter type="annotation" expression="org.springframework.stereotype.Control...原创 2018-09-13 10:15:44 · 131 阅读 · 0 评论 -
springboot自动化配置
springboot的自动化配置有两种方式(博主目前所知道的两种)1.使用spring.facotry文件使用spring.facotry一般情况下是各项目目录不同,例如像org.mybatis包名与org.spring包名不一样,如果我们使用@ComponentScan注解扫描得设置多个路径,依赖的jar越来需要设置的路径越多,麻烦无比。2.使用@ComponentScan注解使...原创 2018-09-13 10:43:38 · 261 阅读 · 0 评论