码迷,mamicode.com
首页 >  
搜索关键字:Springboot    ( 9666个结果)
SpringBoot Mybatis配置
mybatis: mapper-locations: classpath:mapper/*.xml // mapper文件位置 type-aliases-package: com.xxx.model // 根据别名查找model位置 check-config-location: true // 运行 ...
分类:编程语言   时间:2019-12-07 18:12:59    阅读次数:89
【springboot】自动装配原理
摘自:https://mp.weixin.qq.com/s/ZxY_AiJ1m3z1kH6juh2XHw 前言 Spring翻译为中文是“春天”,的确,在某段时间内,它给Java开发人员带来过春天,但是随着我们项目规模的扩大,Spring需要配置的地方就越来越多,夸张点说,“配置两小时,Coding ...
分类:编程语言   时间:2019-12-07 17:48:56    阅读次数:86
Failed to get nested archive for entry BOOT-INF/lib/spring-kafka-2.2.7.RELEASE.jar
环境: springboot + kafka + ES 。。。。。。 maven3.6 jdk8 问题是 jar包启动失败报错,错误如下: Exception in thread "main" java.lang.IllegalStateException: Failed to get nested ...
分类:编程语言   时间:2019-12-07 16:26:05    阅读次数:812
前后端分离 springboot整合shiro
实现前后端的跨域,我是在后端配置类里实现 创建配置类 WebMvcConfig import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.ann ...
分类:编程语言   时间:2019-12-07 16:22:51    阅读次数:101
Springboot实现登录功能
SpringBoot简介 Spring Boot 是所有基于 Spring 开发的项目的起点。Spring Boot 的设计是为了让你尽可能快的跑起来 Spring 应用程序并且尽可能减少你的配置文件。简单来说就是SpringBoot其实不是什么新的框架,它默认配置了很多框架的使用方式,就像mave ...
分类:编程语言   时间:2019-12-07 14:51:05    阅读次数:600
【SpringBoot-02】配置类
尚硅谷SpringBoot视频 P10~ 配置:通过如下其中一种中参数定义,可修改springboot中默认的参数 1、application.properties 如:server.port=8081 2、application.yaml,配置样例 server: port: 8081 ...
分类:编程语言   时间:2019-12-07 14:49:53    阅读次数:92
springboot使用vue打包过的页面资源
(一)webpack打包 如果在vue基于webpack的,build打包后得到的是如下的资源文件: webstorm中提示如下: 这个大致的意思就是这边的文件需要放在http服务器上访问,如果直接打开的话,无法生效。 道理也很简单,基本上这里面引的路径都是服务器的路径。 (二)后端springbo ...
分类:编程语言   时间:2019-12-07 14:05:40    阅读次数:245
原创001 | 搭上SpringBoot自动注入源码分析专车
前言 如果这是你 第二次 看到师长的文章,说明你在觊觎我的美色!O(∩_∩)O哈哈~ 点赞+关注再看,养成习惯 没别的意思,就是需要你的窥屏^_^ 本系列为SpringBoot深度源码专车系列,第一篇发车! 专车介绍 该趟专车是开往Spring Boot自动注入原理源码分析的专车 专车问题 Spri ...
分类:编程语言   时间:2019-12-07 12:49:36    阅读次数:78
spring探秘:通过BeanPostProcessor、@PostConstruct、InitializingBean在启动前执行方法
springboot启动前执行方法的3种方式:实现BeanPostProcessor接口、实现InitializingBean接口、使用@PostConstruct注解 示例: 第一种 实现BeanPostProcessor接口 第二种 实现InitializingBean接口 第三种 使用@Pos ...
分类:编程语言   时间:2019-12-07 12:31:41    阅读次数:297
springboot之HelloWorld
本文使用IDEA开发。 create new project maven信息 依赖 1. lombok 2. web 项目目录 Controller url http://localhost:8080/hello world 结果 ...
分类:编程语言   时间:2019-12-07 10:54:07    阅读次数:79
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!