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热部署Springloaded实现过程解析
myshoporg.springframework.bootspring-boot-maven-plugin2.右键项目-》“properties”-》“DebugAs”-》“Mavenbuild”-》输入“
spring-boot
玉天恒
·
2020-03-17 11:24
Activiti 7.x 与
Spring-Boot
整合
1.相关依赖org.springframework.bootspring-boot-starter-parent2.1.3.RELEASEorg.activitiactiviti-spring-boot-starter7.0.0.Beta4org.activitiactiviti-image-generator7.0.0.Beta42.yml配置activiti:history-level:ful
MaJiT
·
2020-03-16 22:52
Spring 应用 YAML配置文件,抛异常:Invalid bound statement (not found)
初次搭建
Spring-boot
项目,通过别人网站上的项目结构搭建。并将原来的配置文件从.property改用YAML配置文件。
BitMonkey
·
2020-03-15 22:15
spring-boot
pom.xml探究
一个spirng-boot的web项目一、父项目spring-boot-starter-parent是做依赖管理的org.springframework.bootspring-boot-starter-parent1.5.20.BUILD-SNAPSHOT它还依赖于一个父项目spring-boot-dependenciesorg.springframework.bootspring-boot-de
ssttIsme
·
2020-03-15 15:16
spring-boot
MySQL 链接 8小时超时
MySQL连接8小时,没有请求,则断开连接。报错如下:Causedby:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Thelastpacketsuccessfullyreceivedfromtheserverwas51,000,697millisecondsago.Thelastpacketsentsuccessfullytoth
简约_7e45
·
2020-03-15 07:50
spring-boot
之初体验
SpringBoot是为了简化Spring应用的创建、运行、调试、部署等而出现的,使用它可以做到专注于Spring应用的开发,而无需过多关注XML的配置。简单来说,它提供了一堆依赖打包,并已经按照使用习惯解决了依赖问题---习惯大于约定。SpringBoot默认使用tomcat作为服务器,使用logback提供日志记录。本项目使用Gradle来构建SpringBootbuildscript{rep
谁在烽烟彼岸
·
2020-03-15 06:05
3.8 实践(写教程)失败后的感想
我也跟着学习了一下,想从
spring-boot
新手教学出发,对照着官方教程写一系列中文教程,然后每天一篇,希望能借此机会督促自己再深入地去理解一遍
Spring-boot
的原理。
傻瓜先生fd
·
2020-03-14 23:29
spring-boot
| 集成短信验证码服务
目前,手机号对于我们的日常生活有着非常重要的作用,特别是手机号码实名认证以后,手机号如同你的身份证一样记录着我们的各种信息。所以短信验证码作为手机号的验证方式也显得尤为重要。因此,很多公司或网站用短信验证码来验证我们的身份信息。常见的使用场景有:登录注册、信息修改、异常登录、找回密码等操作。今天给大家分享一下如何接入当前应用比较广泛的阿里云短信服务平台和容联云短信平台,其实每个短信平台接入方式都大
代码_搬运工
·
2020-03-14 23:03
Spring-boot
事件监听和源码分析
springboot的事件监听:为bean之间的消息通信提供支持。当一个bean做完一件事以后,通知另一个bean知晓并做出相应处理。这时,我们需要另一个bean,监听当前bean所发生的事件。实现步骤:四个步骤,五种方式第一种方式1、自定义事件,一般是继承ApplicationEvent抽象类2、定义事件监听器,一般是实现ApplicationListener接口3、1)把监听器加入到Sprin
八目朱勇铭
·
2020-03-14 06:30
1.
spring-boot
框架初始
spring-boot
是spring系列下的致力于帮助开发者快速方便搭建项目的工具,并且便于运行部署,特别适用于微服务架构搭建。
kaenry
·
2020-03-14 04:56
spring-boot
Tomcat初始化源码分析
基本实现说明spring-boot-starter-tomcat默认会被spring-boot-starter所依赖,而
spring-boot
实现的巧妙方式在于,通过依赖判定当前classpath下是否存在
慢狍子
·
2020-03-12 22:51
spring-boot
项目启动过慢问题
spring-boot
项目启动过慢问题##问题表现最近手上一个基于
spring-boot
开发的系统在阿里云的ECS上(ubuntu14.04)启动过程中碰到启动时间过长问题,表现如下,启动日志长时间处于一下状态
浮梁翁
·
2020-03-12 20:12
spring-boot
和vue完美整合完整后台
XmSpringBoot===================================这是一个SpringBoot的基础项目项目github地址在线demo后台http://47.91.157.230:2003(账号:test,密码:123456)前端http://47.91.157.230:2001(/api/user/login/api/user/register/api/user/i
xiaomalover
·
2020-03-12 17:57
Spring Boot + Spring Security + Thymeleaf example
姓名:岳沁学号:17101223458转载自:http://www.mkyong.com/
spring-boot
/spring-boot-spring-security-thymeleaf-example
丘之心
·
2020-03-11 23:22
org.apache.http.TruncatedChunkException: Truncated chunk
项目中使用请求远程接口报错,项目是
Spring-boot
的,两个项目(A和B),A调用B的rest接口,返回json数据,A系统报错如下异常,B系统没有报错。
else05
·
2020-03-10 23:30
jHipster - 项目启动发布
jHipster的发布可以说就是
spring-boot
的启动发布。
CC_简书
·
2020-03-10 08:01
数聚研发框架概述
DAFramework--云南数聚基础框架DAFramework是云南数聚科技开源的微服务基础框架,基于
Spring-boot
,Spring-security,Spring-cloud,Spring-data
watano
·
2020-03-10 07:05
Apollo配置中心
大部分系统都有自己的配置表配置中心的优势自然不用多说,统一管理配置文件,可变业务参数,实时更新,无需重启服务apollo配置中心https://github.com/iluoxuan/apollo携程开源,基于
spring-boot
jey恒
·
2020-03-10 05:05
spring boot Thymeleaf 环境搭建
最近后台项目拆分,由于之前APP后台拆分时用的
spring-boot
,而且一些公用的都以独立模块分离(web、auth、datasource、orm等等),所以后台也用
spring-boot
,把需要的模块通过
_流浪的猫_
·
2020-03-09 03:59
spring-boot
学习笔记
官方文档工程目的1.提供快速开发环境,即其已经将各种以来及默认配置搭建好2.spring-boot已配置存在的包版本,但其他依赖却很自由3.提供很多功能插件4.基本上不需要代码或者xml配置5.直接运行应用,不需要web容器(方便调试)最基本项目依赖org.springframework.bootspring-boot-starter-parent1.4.1.RELEASEorg.springfr
慢狍子
·
2020-03-09 02:35
微服务之配置服务器切换profile
最近遇到
Spring-boot
的多个profile切换问题,需求是这样的:微服务中引入了SpringCloudConfig,服务启动的时候,从ConfigServer中读取该实例对应的配置信息。
aoho
·
2020-03-08 20:26
spring-boot-features-spring-application介绍
引言本文主要介绍
spring-boot
的SpringApplication特性,对应的
spring-boot
版本均为1.4.2.RELEASE,官方文档地址为http://docs.spring.io/
felixlv
·
2020-03-08 10:30
2017.08.10
学习springboot[https://docs.spring.io/
spring-boot
/docs/current/reference/htmlsingle/#getting-started-first-application
mblrwuzy
·
2020-03-07 19:26
2018-08-01
Spring-boot
, dubbo, multiple-modules, zoo-keeper(2)
Weknowthatbothprovider&consumerneedtohavethesamedefinitionofservice-interface,inordertoco-workthroughzoo-keeperanddubbo.Itwillbegood,ifwecansplitthedefinitionofservice-interfaceintoalibrary-project,wh
猪迹
·
2020-03-07 14:08
spring-boot
session redis
通常我们的web服务为了分担压力都会部署在多个机器上,如果用到session,就会需要session共享。session共享方案有多种,spring-session是其中一种。spring-session支持多种存储类型,本文利用Redis进行存储pom.xmlorg.springframework.bootspring-boot-starter-parent1.4.0.RELEASE${base
蒼白_4ade
·
2020-03-07 00:33
springboot 04 Deploying Spring Boot applications
第一步打包发布项目1.配置
spring-boot
的Maven插件,打包可执行jar,使用内嵌的servlet服务器org.springframework.bootspring-boot-maven-pluginpackagerepackage
9527华安
·
2020-03-06 18:53
spring-boot
启动debug信息中non-fatal error解决
java.lang.ClassNotFoundException:org.springframework.data.web.config.EnableSpringDataWebSupport添加依赖(版本由parent中spring-data-releasetrain定义)org.springframework.dataspring-data-commonsjava.lang.ClassNotFo
chaofeng
·
2020-03-06 04:22
spring-boot
项目在外部tomcat环境下部署遇到的问题
spring-boot
默认提供内嵌的tomcat,所以打包直接生成jar包,用java-jar命令就可以启动。
AiPuff
·
2020-03-06 00:08
spring-boot
常见错误
@EnableAutoConfiguration和@ComponentScan是一对如果你定义了@Configuration但是不生效,多半是你的Application没有写好,上面两个必须同时开启.写了@PreAuthorize("xx"),但是无效?看看你的@EnableGlobalMethodSecurity(prePostEnabled=true)写了没?bean里的column值和数据库
复苏森林
·
2020-03-05 18:05
spring boot 正式环境部署
部署可以参考官网地址第59章节:https://docs.spring.io/
spring-boot
/docs/current/reference/htmlsingle/#deployment-install
liurongming
·
2020-03-03 22:53
【springboot 入门篇】第1篇 第一个
spring-boot
程序(多种搭建方式)
学习一个新技术,先别管他的原理啊,流程啊,怎么组织代码啊什么的。直接从官网或者博客抄一个小demo,自己亲自跑一遍,然后再去看那一堆让人头皮发麻的讲解,就能相对容易的看懂了。初学者的态度应该是:不要问我为什么,反正我就是可以这样运行!1.创建一个springboot项目可以使用哪些工具1.1使用start.spring.io这是一个网站,可以在这个网站选择你需要的组件,然后会自动生成一个项目文件,
Sharember
·
2020-03-03 20:01
放弃
Spring-Boot
系统集成日志log框架
Spring-Boot
集成了日志框架,只需增加自定义配置覆盖默认配置即可。
唐岭云
·
2020-03-03 16:11
SpringBoot--Web篇<二>
4.SpringMVC自动配置https://docs.spring.io/
spring-boot
/docs/1.5.10.RELEASE/reference/htmlsingle/#boot-features-developing-web-applications1
i_cyy
·
2020-03-03 05:11
android界的
spring-boot
http服务框架
虽然标题是有点浮夸,但的确实现了部分功能有时候要用android当服务器去进行数据传输,如局域网的文件传输功能,这些用http服务去做是比较好的选择.既然要用到http服务,那使用NanoHttpd是最好的选择之一,只有一个文件但可以完成很多http服务的功能.但使用NanoHttpd的时候会有很多的不便,例如我们每次都要对uri进行分析,这样就使得代码臃肿,请求的方法过多的话,那看上去就会一脸懵
androidman
·
2020-03-03 02:54
Spring-boot
常用注解整理
1、@SpringBootApplication主类(入口类)的注解。(@Configuration,@EnableAutoConfiguration,@ComponentScan)2、@RepositoryDAO层注解,DAO层中接口继承JpaRepository,需要在build.gradle中引入相关jpa的一个jar自动加载。3、@ServiceServiceImpl上面注解,注意不是Se
Timor_张先生
·
2020-03-03 00:03
spring-boot
使用 redis 做缓存
springboot使用redis做缓存maven添加redis缓存支持org.springframework.bootspring-boot-starter-data-redisapplication.properties配置##===========Springdataredis========================================spring.redis.host=
大雄的学习笔记
·
2020-03-02 18:41
从零开始搭建前后端独立Web App环境Part0:讲在前面
WrittenbyC.H.长文不看后端使用Java语言进行编码,利用Maven进行工程管理,使用
Spring-Boot
启动服务。前端使用AngularJS2框架,使用Node.JS启动服务。
LWJP实验室
·
2020-03-02 17:30
spring-boot-starter原理及实现方法
例如
spring-boot
中集成redis,只需要pom.xml中引入spring-boot-starter-data-redis,配置文件中加入spring.redis.database等几个关键配置项即可
香草天空Sky
·
2020-03-02 15:03
Java面试题
SpringBoot学习笔记四:日志
SpringBoot官方文档日志部分https://docs.spring.io/
spring-boot
/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-loggingSpringBoot
fulgens
·
2020-03-02 07:50
1.Spring Boot中单元测试详解
spring-boot-starter-test也秉承了开箱即用的原则,集成了许多优秀的类库,可以很方便的帮助我们进行测试使用
spring-boot
测试的核心包,一个为spring-boot-test包含核心项
张大仙是个妖怪
·
2020-03-02 03:47
Spring-Boot
项目实现热部署
idea为2017.1.1版本IDEA设置CTRL+SHIFT+A-->输入makeprojectautomatically-->选中也可以去setting中,效果一样,如下图image.pngCTRL+SHIFT+A-->输入registry-->选中compiler.automake.allow.when.app.running-->close,其他别瞎点重启ideaMaven设置依赖org.
世外大帝
·
2020-03-01 07:06
Springboot 开发常用技术整合--笔记2--mybatis及pageHelper
前言继续Springboot5开发常用技术整合--笔记https://yunpan.360.cn/surl_yLKZ52FG45K(提取码:1a6e)涉及到的知识点用navicat创建mysq数据库及表结构
Spring-Boot
牵手生活
·
2020-03-01 05:11
Spring boot监控初探
被监控服务配置本地正好有
spring-boot
的项目,并且也依赖了jolokia(主要就是为了把JMX的mbean通过HTTP暴露出去)项目配置也少不了endpoints:enabled:truejm
duodo
·
2020-03-01 04:31
监控
spring
spring-boot
运行流程粗略纪要
springboot运行流程,主要集中在springApplication.class这个类中,我们可以通过springboot启动类调用的springApplication.run()方法为起点,粗略的阅读源码,下文为流程粗略纪要,读者可以根据纪要阅读一遍。一、newSpringApplication,执行initialize()方法1)、判断是否是web环境2)、加载所有classpath目录
八目朱勇铭
·
2020-02-29 07:25
spring-boot
结合spirng-data-jpa使用H2,Mysql,Oracle数据库的基本配置
pom.xml4.0.0com.examplemy-springboot10.0.1-SNAPSHOTjardemoDemoprojectforSpringBootorg.springframework.bootspring-boot-starter-parent2.1.0.RELEASEUTF-8UTF-81.8org.springframework.bootspring-boot-starte
JohnYuCN
·
2020-02-28 06:27
spring-boot-starter-data-redis dubbo
用
spring-boot
框架开发时,利用redis作为mybatis二级缓存时,单体框架时,@Cacheable(value="users",key="'findAll'"),通常我们可以直接加载到service
liurongming
·
2020-02-28 01:01
如何编写自己的starter
命名规则:不要使用
spring-boot
开头的,以避免将来
spring-boot
官方使用你的starter而重名。
0爱上1
·
2020-02-27 14:44
springboot05--其它全局配置
*#SOLR(*[SolrProperties](https://github.com/spring-projects/
spring-boot
/tree/v1.5.2.RELEASE/spring-boot-autoconfigure
exmexm
·
2020-02-25 18:23
Spring Boot 01
官网:http://projects.spring.io/
spring-boot
/1.配置pom.xml4.0.0com.examplemyproject0.0.1-SNAPSHOTorg.springframework.bootspring-boot-starter-parent1.4.0
lhl_012
·
2020-02-25 16:54
@Configuration与Cglib的故事
业余时间将kafka与
spring-boot
框架集成造轮子的过程中遇到@Configuration注解的问题,与大家分享一下。
我叫刘大饼
·
2020-02-24 21:43
上一页
46
47
48
49
50
51
52
53
下一页
按字母分类:
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
其他