
Spring Boot
大象_
技术,是服务于人而不是局限住人的。
写博客一是记录一些开发笔记以及思路,二是希望自己整理的笔记和心得能帮助到遇到问题的开发。
展开
-
SpringBoot报错:org.apache.catalina.loader.WebappClassLoaderBase - The web application [live] appears t
SpringBoot报错:org.apache.catalina.loader.WebappClassLoaderBase - The web application [live] appears to have started a thread named [Druid-ConnectionPool-Destroy-515911717] but has failed to stop it. This is very likely to create a memory leak. Stack trace o原创 2022-03-19 20:30:00 · 5504 阅读 · 0 评论 -
@RequestParam(required = false) String parentMenuId required默认为true
@RequestParam(required = false) String parentMenuId required默认为true org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'parentMenuId' is not presentorg.springframework.web.bind.MissingServletRequestParameterEx原创 2022-03-04 21:15:00 · 805 阅读 · 0 评论 -
Swagger简单用法
Swagger简单用法原创 2022-01-21 22:30:00 · 237 阅读 · 0 评论 -
一个AOP问题:@AfterReturning(“@annotation(com.live.systemLog.systemLogCli.impl.aopCli.annotation.EnableS
一个AOP问题:@AfterReturning("@annotation(com.live.systemLog.systemLogCli.impl.aopCli.annotation.EnableSystemLog)") 报错Error creating bean with name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': BeanPostProcessor before.原创 2022-01-20 22:15:00 · 734 阅读 · 0 评论 -
@Resource 和 @Autowired 区别
@Resource 和 @Autowired 区别首先,在开发工作中,二者皆可,遇到问题解决问题。区别1:@Autowired 是Spring的注解,Spring属于第三方的;@Resource 是JDK的,J2EE是Java自己的东西。理论上讲,使用@Resource可以减少代码和Spring之间的耦合,但是。。。区别2:@Resource默认按照名称方式进行bean匹配,@Autowired默认按照类型方式进行bean匹配@Resource(import javax.annota原创 2022-01-14 22:00:00 · 656 阅读 · 0 评论 -
SpringBoot 开发笔记:使用SpringBoot 整合 SSM
SpringBoot 开发笔记:使用SpringBoot 整合 SSM一、搭建过程1、修改 pom.xml1)Spring Boot的依赖2)mybatis starter <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <!-- <v.原创 2020-11-02 19:01:14 · 396 阅读 · 1 评论