Spring boot
文章平均质量分 64
超级码里喵
这个作者很懒,什么都没留下…
展开
-
从Spring迁移到Spring Boot
要想添加Spring Boot,最简单的办法就是添加Spring Boot Starters。原创 2022-08-04 12:51:24 · 434 阅读 · 0 评论 -
ssm和springboot的区别
1、在开发中,虽然springboot简化了配置,但只不过是编写的方式变得简单了,和SSM整合的方式还是有些差异;2、使用SSM开发时,多数会选择Jsp作为视图,但是springboot不推荐使用jsp。原创 2022-08-04 11:34:25 · 18266 阅读 · 0 评论 -
SpringBoot项目启动报错:Field userMapper in com.demo.controller.MemberController required a bean of type ‘c
问题描述:SpringBoot项目启动报错,报错内容:‘com.xxx.mapper.XxxxMapper’ that could not be found*************************** APPLICATION FAILED TO STARTDescription:Field userMapper in com.demo.controller.MemberController required abean of type ‘com.demo.mapper.UserMap原创 2022-04-28 12:13:24 · 10950 阅读 · 2 评论 -
Spring boot常用标签
标签说明@Configuration从Spring3.0,@Configuration用于定义配置类,可替换xml配置文件,被注解的类内部包含有一个或多个被@Bean注解的方法,这些方法将会被AnnotationConfigApplicationContext或AnnotationConfigWebApplicationContext类进行扫描,并用于构建bean定义,初始化...原创 2018-12-05 10:56:02 · 1922 阅读 · 1 评论