码迷,mamicode.com
首页 >  
搜索关键字:SpringBoot    ( 9666个结果)
总结篇——从零搭建maven多模块springboot+mybatis项目
一、创建maven父工程; 1、修改pom.xml,最终结果如下: 二、创建springboot的api子工程; 1、修改application.properties文件,如下: 2、修改pom.xml文件,如下: 3、修改主类ShopApplication,如下: 三、创建maven的dao子工程 ...
分类:编程语言   时间:2019-09-11 16:22:02    阅读次数:130
eclipse中SpringBoot的maven项目出现无法解析父类的解决办法
在eclipse中建立SpringBoot的maven项目时,继承父类,添加如下代码: 但有时会出现解析不了父类的POM情况(Project build error:Non-resolvable parent POM),这时只需在pom.xml中添加如下代码: 最后再选中项目右键-->Maven-- ...
分类:编程语言   时间:2019-09-11 16:07:05    阅读次数:123
springboot+angular dropDownList取值
controller: ...
分类:编程语言   时间:2019-09-11 15:57:46    阅读次数:76
Using Spring Boot —— Configuration Classes
springboot支持java代码配置,尽管可以使用xml配置,但是我们建议你的主要配置可以使用一个 @Configuration 类。通常,定义main方法的类很适合作为主要的@Configuration。 1. 导入配置类 用@Import注解导入; 将@Configuration类放到@Co ...
分类:编程语言   时间:2019-09-11 14:07:19    阅读次数:85
docker 容器版本问题
LoggerFactory is not a Logback LoggerContext but Logback is on the classpath springboot docker 容器 版本问题 ...
分类:其他好文   时间:2019-09-11 13:59:22    阅读次数:76
springboot使用maven命令打包jar及配置文件配置
sspringboot项目如果不想每次修改配置文件就要重新打包jar的话,可以进行以下配置进行打包 1.在resources下新建assembly文件夹package.xml 2.在pom中配置下面代码 然后在项目文件夹下shift+右键打开命令行窗口输入:mvn package -DskipTes ...
分类:编程语言   时间:2019-09-11 13:48:54    阅读次数:104
6.springboot+mybatis+redis整合
选择生成的依赖 选择保存的工程路径 查询已经生成的依赖,并修改mysql的版本 1 <dependencies> 2 <dependency> 3 <groupId>org.springframework.boot</groupId> 4 <artifactId>spring-boot-starte ...
分类:编程语言   时间:2019-09-11 11:59:16    阅读次数:176
Spring Cloud Alibaba | 微服务分布式事务之Seata
Spring Cloud Alibaba | 微服务分布式事务之Seata 本篇实战所使用Spring有关版本: SpringBoot:2.1.7.RELEASE Spring Cloud:Greenwich.SR2 Spring CLoud Alibaba:2.1.0.RELEASE 1. 概述 ...
分类:编程语言   时间:2019-09-11 10:04:01    阅读次数:1002
深入SpringBoot注解原理及使用
首先,先看SpringBoot的主配置类: 点进@SpringBootApplication来看,发现@SpringBootApplication是一个组合注解。 首先我们先来看 @SpringBootConfiguration: 可以看到这个注解除了元注解以外,就只有一个@Configuratio ...
分类:编程语言   时间:2019-09-11 09:33:22    阅读次数:92
springboot启动流程(八)ioc容器refresh过程(下篇)
所有文章 https://www.cnblogs.com/lay2017/p/11478237.html 正文 上一篇文章,我们知道了解析过程将从解析main方法所在的主类开始。在文章的最后我们稍微看了一下ConfigurationClassParser这个解析器的parse方法 本文将从这个par ...
分类:编程语言   时间:2019-09-11 09:25:16    阅读次数:106
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!