E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Spring-boot
SpringBoot快速掌握(参照官方文档)
一、
Spring-Boot
概念:SpringBoot并不是一个框架,从根本上将,它就是一些库的集合,继承starter,约定大于配置,它早已集成了需要配置的众多信息;作用:简化spring配置,让spring
-π
·
2018-11-09 01:51
Spring Boot2.0 @ConfigurationProperties使用详解
配置项目POM在pom.xml中定义
Spring-Boot
为parentorg.springframework.bootspring-boot-starter-parent2.0.4.RELEASE添加依赖添加
paderlol
·
2018-11-08 11:10
一起来学 SpringBoot 2.x | 第二十二篇:轻松搞定重复提交(本地锁)
http://www.iocoder.cn/
Spring-Boot
/battcn/v2-cache-locallock/SpringBoot是为了简化Spring应用的创建、运行、调试、部署等一系列问题而诞生的产物
god_love_hlq_xff
·
2018-11-06 22:06
java
spring
springboot
分布式
redis
一起来学 SpringBoot 2.x | 第二十三篇:轻松搞定重复提交(分布式锁)
http://www.iocoder.cn/
Spring-Boot
/battcn/v2-cache-redislock/SpringBoot是为了简化Spring应用的创建、运行、调试、部署等一系列问题而诞生的产物
god_love_hlq_xff
·
2018-11-06 22:17
java
springboot
redis
一起来学 SpringBoot 2.x | 第二十七篇:优雅解决分布式限流
http://www.iocoder.cn/
Spring-Boot
/battcn/v2-cache-redislimter/SpringBoot是为了简化Spring应用的创建、运行、调试、部署等一系列问题而诞生的产物
god_love_hlq_xff
·
2018-11-06 22:23
java
springboot
springboot框架接口返回类型JSONObject,无存入值。
spring-boot
框架@RestController@EnableAutoConfiguration@RequestMapping("/userCon")publicclassDbController
Iris_Pu
·
2018-11-05 14:31
SpringBoot(6) - Web(1)
参考:https://docs.spring.io/
spring-boot
/docs/1.5.17.RELEASE/reference/htmlsingle/#boot-features-developing-web-applications
mytt_10566
·
2018-11-04 15:22
springboot
Spring Cloud常见问题与总结(四)
2.SpringBoot的配置SpringBoot的所有组件配置都在其官方文档的附录,地址如下:https://docs.spring.io/
spring-boot
/docs/1.5.9.RELEASE
StarskyBoy
·
2018-11-03 14:51
Spring
Cloud
spring-boot
react如何一步一步实现增删改查
1、maven继承spring-bootorg.springframework.bootspring-boot-starter-parent2.0.6.RELEASE2、指定jdk版本和字符集UTF-8UTF-81.83、添加依赖org.springframework.bootspring-boot-starter-weborg.springframework.bootspring-boot-st
心扬
·
2018-11-02 15:41
Spring-Boot
添加MyBatis:手动添加代码方式
创建了一个MySQL数据库,并添加了一张表:添加MyBatis后,有两种使用方式:注解方式。简单快速,适合规模较小的数据库。xml配置方式。支持动态生成SQL,调整SQL更方便,适合大型数据库。无论哪种方式,都需要共同执行的前期工作:在pom.xml中添加依赖库。org.mybatis.spring.bootmybatis-spring-boot-starter1.3.2mysqlmysql-co
超频化石鱼
·
2018-11-01 15:00
Spring-Boot
在
Spring-Boot
中进行单元测试
要进行单元测试,需要引入依赖: org.springframework.boot spring-boot-starter-test test 设有一个Controller,其路径为src/main/java/com/template/controller/HelloWorldController: packagecom.template.controller; importcom.aliba
超频化石鱼
·
2018-11-01 00:00
Spring-Boot
springboot学习资料汇总
点这里重点推荐:SpringBoot中文索引推荐博客纯洁的微笑程序猿DDliaokailin的专栏SpringBoot揭秘与实战系列catoop的专栏简书SpringBoot专题方志朋SpringBoot专栏
Spring-boot
WuHuiBlog
·
2018-10-31 17:14
springboot
spring-boot
react一步一步实现增删改查 组件化
在spring-bootreact一步一步实现增删改查中,用一个组件实现了表格和表单功能,所以现在需要将其拆分成组件独立出来拆分表格创建Table.jsimportReact,{Component}from'react'classTableextendsComponent{render(){return(ID用户名操作{this.props.list.map(item=>{return({item
心扬
·
2018-10-31 10:36
react
spring-boot
react一步一步实现增删改查
maven继承spring-bootorg.springframework.bootspring-boot-starter-parent2.0.6.RELEASE指定jdk版本和字符集UTF-8UTF-81.8添加依赖org.springframework.bootspring-boot-starter-weborg.springframework.bootspring-boot-starter-
心扬
·
2018-10-30 18:44
react
spring-boot
子模块打包的jar中去掉BOOT-INF文件夹
原文:https://blog.csdn.net/zsywangyi/article/details/78319130一、多子模块项目(多个依赖)1.spring-bootmaven打包,一般pom.xml文件里会加 org.springframework.boot spring-boot-maven-plugin这样打的jar里会多一个目录BOOT-INF。2.引起问题,程序包不存在。3.解
不屑哥
·
2018-10-29 19:58
java
springboot
IDEA创建一个
spring-boot
整合Mybatis的模块时,遇到的问题
mybatis-spring-boot-starter这个依赖中的依赖传递没有传递成功,解决办法:单独创建
spring-boot
整合mybatis项目时是没有任何问题的,只有创建模块才会出现这种情况,我也是实验了好多才知道
ZhangY1217
·
2018-10-29 17:52
java
关于Springboot打包错误的问题 Failed to execute goal org.springframework.boot:spring-boot-maven-plugin
最近在使用
spring-boot
整合多模块,但是在父pom中打包maveninstall时总会报错:Failedtoexecutegoalorg.springframework.boot:spring-boot-maven-plugin
筱筱世家
·
2018-10-29 11:20
springboot
(2)
spring-boot
配置详解
SpringBoot简化了基于Spring的应用开发,其为spring及第三方平台提供开箱即用的设置,多数SpringBoot应用只需要很少的Spring配置。spring特性:为所有Spring开发提供一个从根本上更快,且随处可得的入门体验。开箱即用,但通过不采用默认设置可以快速摆脱这种方式。提供一系列大型项目常用的非功能性特征,比如:内嵌服务器,安全,指标,健康检测,外部化配置。绝对没有代码生
桥头放牛娃
·
2018-10-26 18:43
Maven项目集成Spring boot + Mybatis + Druid 开启slf4j 输出包含SQL日志和Druid性能监控
快速创建Maven项目集成Springboot+Mybatis+Druid开启slf4j输入包含SQL日志和Druid性能监控1.首先创建Maven项目2.打开pom.xml文件添加依赖项目其中包括
spring-boot
天河无风
·
2018-10-26 13:01
java项目
spring-boot
集成freemarker
1.spring-boot集成freemarker需要添加freemarker启动器依赖org.springframework.bootspring-boot-starter-freemarker2.写freemarker页面推荐使用第三方编辑软件HBuilderHBuilder选择项目文件夹的根目录打开!要在resource目录下创建一个文件夹,目录结构如下所示!!!templates目录不能被
zgahlibin
·
2018-10-25 01:59
Java
微架构spring-boot
Spring-boot
生成word固定模板文档(用途:电子合同等) freemarker
制作word模板在word模板中需要定义好我们的占位符哦,使用${string}的方式。“string”根据自己的爱好定义就好了。然后将我们的word文档另存为xml文档。将我们的xml文档的后缀改为ftl,然后用可以打开ftl文件的软件打开我们的ftl文件。在这里我们有几个需要注意的地方。第一,定义的占位符可能会被分开了。就像下面这样:我们需要做的就是删掉多余的部分,图中我定义的是${userN
伋基岚
·
2018-10-24 22:48
笔记
spring-boot
+ shiro + mybatis 的 demo
这里总结下用springboot实现shiro的几个要点,如果要下载完整的项目,请到https://download.csdn.net/download/howard789/10740550(下载后先在本地创建test_shiro数据库,然后运行resources的sql包下的5个sql文件),启动项目即可看到网页并且测试说一下要点:数据库一般至少有五张表(本项目是用mybaits)1-user:
陈君豪
·
2018-10-24 10:31
java
springboot
Spring Boot 深度实践 – 系列总览
:@EnableAutoConfiguration配置:/META-INF/spring.factories实现:XXXAutoConfigurationhttps://docs.spring.io/
spring-boot
gringotts
·
2018-10-23 12:28
玩转springboot2.x之发送邮件篇
文档地址:https://docs.spring.io/
spring-boot
/docs/2.0.6.RELEASE/reference/htmlsingle/#boot-fe
桌前明月
·
2018-10-21 17:35
【SpringBoot】
idea启动
spring-boot
优雅退出
基本思路:保存springboot启动生成上下文根据输入进行判断如果是“q”,即退出程序importorg.springframework.boot.SpringApplication;importorg.springframework.boot.autoconfigure.SpringBootApplication;importorg.springframework.context.Config
ariesandx
·
2018-10-20 15:40
idea中搭建基于maven的
spring-boot
项目
其实我一直很想写一篇文章来说明一下如何在idea中创建一个
spring-boot
项目的,但是由于找工作和换工作的时间一直耽搁到现在,趁今天晚上加班的时间,终于挤出半个小时来讲述如何在idea中创建
spring-boot
好一个大布丁
·
2018-10-18 21:06
java
服务器后端开发
玩转 SpringBoot 2.x 之自定义 Banner 日志输出原理篇
1查看SpringBoot官方文档https://docs.spring.io/
spring-boot
/docs/2.0.6.RELEASE/reference/htmlsingle/#boot-features-banner
桌前明月
·
2018-10-17 16:58
【SpringBoot】
Spring Boot Admin应用监控
SpringBootAdmin是一个针对
spring-boot
的actuator接口进行UI美
codeing_doc
·
2018-10-16 15:43
spring-boot
SpringBoot部署在tomcat容器中运行的部署方法
packaging便签下jar改为warwar2.在pom.xml文件中添加新的依赖包org.springframework.bootspring-boot-starter-tomcatprovided3.在
spring-boot
erxiii
·
2018-10-15 14:02
Spring-boot
做购物系统项目
.每个方法接口要打注释.1.配置:本地mysql(Linux虚拟机mysql)建表test数据库goods表,IDEA。2.运行:例:http://localhost:9090/goods/update?id=1&name=b&price=1000&amount=8&sum=50003.报错:某异常:Nooperationsallowedafterconnectionclosed,解决办法:删除D
我是丰儿你是沙
·
2018-10-11 21:19
Spring
使用docker部署
spring-boot
多模块依赖工程
阅读更多项目架构dw||----dw-demo(接口demo)||----dw-core(代码核心)||----dw-api(接口,依赖dw-core)||----dw-manage(后台,依赖dw-core)一、准备工作首先看下各模块pom文件1、项目父工程POM4.0.0com.rddw2.0.0pomdw-coredw-managedw-apidw-demoorg.springframewo
hbxflihua
·
2018-10-11 17:00
docker
spring-boot
使用docker部署
spring-boot
多模块依赖工程
阅读更多项目架构dw||----dw-demo(接口demo)||----dw-core(代码核心)||----dw-api(接口,依赖dw-core)||----dw-manage(后台,依赖dw-core)一、准备工作首先看下各模块pom文件1、项目父工程POM4.0.0com.rddw2.0.0pomdw-coredw-managedw-apidw-demoorg.springframewo
hbxflihua
·
2018-10-11 17:00
docker
spring-boot
使用docker部署
spring-boot
多模块依赖工程
阅读更多项目架构dw||----dw-demo(接口demo)||----dw-core(代码核心)||----dw-api(接口,依赖dw-core)||----dw-manage(后台,依赖dw-core)一、准备工作首先看下各模块pom文件1、项目父工程POM4.0.0com.rddw2.0.0pomdw-coredw-managedw-apidw-demoorg.springframewo
hbxflihua
·
2018-10-11 17:00
docker
spring-boot
spring-boot
maven常用依赖
..spring-boot-dependenciespomSpringBootDependenciesSpringBootDependencieshttps://projects.spring.io/
spring-boot
Jatham
·
2018-10-11 17:52
Java
springboot 自定义一个简单的 starter
autoconfigurer自动配置模块, org.springframework.boot
spring-boot
huang__2
·
2018-10-10 00:00
springboot
spring boot项目打包成war 并在tomcat上运行的步骤详解
id=52515226把
spring-boot
项目按照平常的web项目一样发布到tomcat容器下一、修改打包形式在pom.xml里设置war二、移除嵌入式tomcat插件在pom.xml里找到spring-boot-starter-web
哎呦JT不错哦
·
2018-10-08 18:57
工作中用到的总结
spring-boot
推送实时日志到前端页面显示
简单的
spring-boot
工程这里就不做过多的讲解了,只叙述核心部分首先导入依赖org.springframework.bootspring-boot-starter-websocket首先在项目的日志配置文件中新增
诗和_远方
·
2018-10-08 09:16
java推送日志
java
Spring cache 加 devtool热加载的小坑
解决方案:https://github.com/spring-projects/
spring-boot
/issues/9444手动设置类加载器AsexplainedinthedocumentationthatIlinkedtoabove
Tashan_chi
·
2018-10-08 08:53
Java
spring
redis
spring-boot
整合shiro
最近项目中也需要用到权限验证功能,项目为
spring-boot
工程,现成的权限验证框架有shiro和spring-security,shiro相对spring-security来说学习难度要低一点,也是老牌成熟的产品
冰上浮云
·
2018-10-06 00:00
java-spring
shiro
十六、Linux访问网址
方式访问核心就是curlip:port案例:[root@administratorbin]#curllocalhost:9200{"name":"administrator","cluster_name":"
spring-boot
咸鱼最牛逼
·
2018-10-05 22:19
linux
spring-boot
@EnableConfigurationProperties与@ConfigurationProperties的关系
在
spring-boot
中,1、如果@ConfigurationProperties所注的类可以被springboot扫描并添加进容器中作为bean(比如使用@Component等注解,或者配置扫描该类所在包等手段
祁东握力
·
2018-10-02 18:07
spring
spring
boot
IDEA
spring-boot
简单实现国际化
一、创建springboot项目选择web模块模板引擎选择Thymeleaf,也可以自己在pom文件中自己引用二、添加Jquery,和Bootstrap百度搜索webjar,进入官网把依赖拷贝下来放在pom文件中,当然可以选择自己要的版本可以设置thymeleaf的版本thymeleaf-layout是布局的功能thymeleaf-layout只有2.0以上的版本才支持thymeleaf3.0三、
hyunbar
·
2018-10-01 00:00
springboot
springboot学习材料
阅读更多入门学习资料:官网文档:https://docs.spring.io/
spring-boot
/docs/2.0.5.RELEASE/reference/htmlsingle/参考样例:https
kanpiaoxue
·
2018-09-30 10:00
SpringBoot整合Mybatis实现简单的CRUD
继上篇文章:
Spring-Boot
入门之环境搭建。这次我们整合SpringBoot-Mybatis实现简单的CRUD业务。需求:详解SpringBoot工程的构建、与SSM项目在工程搭建上的不同。
TyCoding
·
2018-09-30 07:26
Spring-boot
构建多模块依赖工程时,maven打包异常:程序包xxx不存在
阅读更多项目dw(父类工程,定义各模块,指定模块依赖jar版本)|------------------------------|--da-core核心代码||--da-manage后台管理,依赖da-core||--da-apiAPI接口,依赖da-api||--da-demoAPI接口DEMO通过maven命令:mvncleanpackage-Dmaven.test.skip进行打包编译报错,错
hbxflihua
·
2018-09-29 15:00
springBoot
Spring-boot
构建多模块依赖工程时,maven打包异常:程序包xxx不存在
阅读更多项目dw(父类工程,定义各模块,指定模块依赖jar版本)|------------------------------|--da-core核心代码||--da-manage后台管理,依赖da-core||--da-apiAPI接口,依赖da-api||--da-demoAPI接口DEMO通过maven命令:mvncleanpackage-Dmaven.test.skip进行打包编译报错,错
hbxflihua
·
2018-09-29 15:00
springBoot
快速构建
spring-boot
项目
1.引入pom依赖4.0.0com.zjwspring-boot-study1.0-SNAPSHOTorg.springframework.bootspring-boot-starter-parent1.5.16.RELEASEorg.springframework.bootspring-boot-starter-weborg.springframework.bootspring-boot-sta
筑梦之人
·
2018-09-29 10:13
spring-boot+spring-session集成
spring-boot
集成spring-session非常简单,因为s
heiyouling
·
2018-09-29 09:51
springboot
session共享
SpringBoot
Spring-Boot
v2.0.5 设置跨域访问
在@Configuration注解下的类中添加如下配置@BeanpublicWebMvcConfigurercorsConfigurer(){returnnewWebMvcConfigurerAdapter(){@OverridepublicvoidaddCorsMappings(CorsRegistryregistry){registry.addMapping("/some-controller
SkyeBeFreeman
·
2018-09-28 21:25
Java
spring-boot
Springboot整合Quartz实现动态定时任务
对于如何创建Springboot项目和与Mybatis整合可以参考上篇文章:[
spring-boot
整合Mybati
小揪揪
·
2018-09-28 00:00
java
spring
oracle
mybatis
quartz
上一页
57
58
59
60
61
62
63
64
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他