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
spring-boot
配置mongoDB连接,保存、查找、统计操作
简单几步,就可以配置好mongoDB的连接,然后使用MongoTemplate操作数据:1、引入依赖:org.springframework.bootspring-boot-starter-data-mongodb2、application.yml中配置连接信息:spring:data:mongodb:uri:mongodb://192.168.0.9:27017/test其中:test是db的名
Clement-Xu
·
2016-10-27 17:19
项目配置
MongoDB
Spring
Boot
spring-boot
配置mongoDB连接,保存、查找、统计操作
简单几步,就可以配置好mongoDB的连接,然后使用MongoTemplate操作数据:1、引入依赖:org.springframework.bootspring-boot-starter-data-mongodb2、application.yml中配置连接信息:spring:data:mongodb:uri:mongodb://192.168.0.9:27017/test其中:test是db的名
Clement-Xu
·
2016-10-27 17:19
项目配置
MongoDB
Spring
Boot
spring-boot
配置MySQL数据库连接、Hikari连接池、和Mybatis的简单方法
此方法为极简配置,支持MySQL数据库多库连接、支持Hikari连接池、支持MyBatis(包括Dao类和xml文件位置的配置)。如果需要更灵活的自定义配置(比如支持分页插件),请参考:http://blog.csdn.net/clementad/article/details/517761511、pom.xml中引入依赖:org.mybatis.spring.bootmybatis-spring
Clement-Xu
·
2016-10-27 12:03
数据库
项目配置
Spring
Boot
spring-boot
配置MySQL数据库连接、Hikari连接池、和Mybatis的简单方法
此方法为极简配置,支持MySQL数据库多库连接、支持Hikari连接池、支持MyBatis(包括Dao类和xml文件位置的配置)。如果需要更灵活的自定义配置(比如支持分页插件),请参考:http://blog.csdn.net/clementad/article/details/517761511、pom.xml中引入依赖:org.mybatis.spring.bootmybatis-spring
Clement-Xu
·
2016-10-27 12:03
数据库
项目配置
Spring
Boot
Figlet 为你的程序生成漂亮的文字Banner
Figlet为你的程序生成漂亮的文字Banner在java开发中,使用
spring-boot
启动程序看到看漂亮的文字Banner,如何在其它程序中使用呢?figlet可以帮助你解决这个问题。
dounine
·
2016-10-26 13:09
figlet
spring学习之spring框架介绍
spring学习之spring框架介绍开始spring如果你是刚使用spring的开发人员,可以先使用
spring-boot
来创建一个spring应用。他基于spring框架。主张约定优于配置。
chenlisong2015
·
2016-10-21 01:21
尝试做新事情30天。
spring
Spring-boot
中读取config配置文件的两种方式
了解过
spring-Boot
这个技术的,应该知道
Spring-Boot
的核心配置文件application.properties,当然也可以通过注解自定义配置文件的信息。
日出东方VS唯我不败
·
2016-10-17 18:04
◆框架技术
······【Spring
Boot】
spring-boot
集成Springfox-Swagger2
spring-boot-springfoxspring-bootSpringfoxSwagger效果图: io.springfox springfox-swagger2 2.6.0 io.springfox springfox-swagger-ui 2.6.0 @Configuration @EnableSwagger2 publicclassSwaggerConfi
lihao312
·
2016-10-12 21:00
spring
spring-boot
springfox
swagger-ui
swagger2
SpringBoot-Learning-作者:翟永超
作者博客:http://blog.didispace.comSpringBoot系列博文:http://blog.didispace.com/categories/
Spring-Boot
/SpringCloud
请持续率性
·
2016-10-11 17:53
java
springboot
SpringBoot-Learning-作者:翟永超
作者博客:http://blog.didispace.comSpringBoot系列博文:http://blog.didispace.com/categories/
Spring-Boot
/SpringCloud
k21325
·
2016-10-11 17:00
springboot
spring-boot
集成sitemesh装饰器
spring-boot-sitemesh,依赖spring-boot-parentspring-bootEasyUiSiteMesh项目启动访问路径http://localhost/admin/indexorg.springframework.bootspring-boot-starter-parent1.3.5.RELEASEorg.sitemeshsitemesh3.0.1publicclas
熊大信了熊二的话
·
2016-10-10 21:04
Spring-boot
spring-boot
代码生成工具
MybatisAutoCodeGenerationMapper/Service/Domain/SQL.xml,主要是针对某个数据库所有表[参考配置文件ConfigConstants],统一生成Domain/Service/Mapper,以及SQL.xml文件,如:针对t_customer,通过该应用生成CustonerInfo.java,CustomerSerivce.java/CustomerS
熊大信了熊二的话
·
2016-10-10 21:59
Spring-boot
spring-boot
集成Freemarker开发
功能http://localhost/system/login展示后台发布新闻列表http://localhost/前端Freemark模板展示中间用到了Mysql,Mybatis,druid;可以参考
spring-boot
熊大信了熊二的话
·
2016-10-10 21:53
Spring-boot
spring-boot
集成shiro
引用项目启动后输入:http://localhost/该项目中,增加了对url的拦截URLPermissionsFilter,用admin/123456,拥有index权限reports未任何权限,lance/123456尚未分配任何权限.1.Pom依赖1.2.5org.apache.shiroshiro-core${shiro.version}org.apache.shiroshiro-web$
熊大信了熊二的话
·
2016-10-10 21:47
Spring-boot
spring-boot
加入拦截器Interceptor
1.springboot拦截器默认有HandlerInterceptorAdapterAbstractHandlerMappingUserRoleAuthorizationInterceptorLocaleChangeInterceptorThemeChangeInterceptor2.配置springmvc的拦截器WebMvcConfigurerAdapterpublicclassWebAppC
熊大信了熊二的话
·
2016-10-10 21:37
Spring-boot
spring-boot
加载本地静态资源文件路径配置
1.springboot默认加载文件的路径是/META-INF/resources//resources//static//public/这些目录下面,当然我们也可以从springboot源码也可以看到privatestaticfinalString[]CLASSPATH_RESOURCE_LOCATIONS={"classpath:/META-INF/resources/","classpath
熊大信了熊二的话
·
2016-10-10 21:30
Spring-boot
spring-boot
集成Quartz
spring-boot
集成Quartz org.quartz-scheduler quartz 2.2.3 org.quartz-scheduler quartz-jobs 2.2.3
lihao312
·
2016-10-09 20:00
quartz
scheduler
spring-boot
StdJDBCDelegate
JobStoreTX
spring-boot
集成Quartz
阅读更多
spring-boot
集成Quartzorg.quartz-schedulerquartz2.2.3org.quartz-schedulerquartz-jobs2.2.3spring-bootEasyuiQuartz
lihao312
·
2016-10-09 20:00
spring-boot
StdJDBCDelegate
quartz
Scheduler
JobStoreTX
spring-boot
集成Quartz
阅读更多
spring-boot
集成Quartzorg.quartz-schedulerquartz2.2.3org.quartz-schedulerquartz-jobs2.2.3spring-bootEasyuiQuartz
lihao312
·
2016-10-09 20:00
spring-boot
StdJDBCDelegate
quartz
Scheduler
JobStoreTX
Spring Boot 2.0.0参考手册_中文版_Part I
最新的文档可以从docs.spring.io/
spring-boot
/docs/current/reference上得到。
SnailTyan
·
2016-10-08 22:50
Spring
Boot
Spring
Boot
2.0.0参考手册
spring-boot
读取props和yml配置文件
最近微框架
spring-boot
很火,笔者也跟风学习了一下,废话不多说,现给出一个读取配置文件的例子。
rr57f19160140b1
·
2016-10-03 07:52
springmvc
代码生成器
SSM
spring-boot
加载本地静态资源文件路径配置
1.springboot默认加载文件的路径是 /META-INF/resources/ /resources/ /static/ /public/ 这些目录下面,当然我们也可以从springboot源码也可以看到 privatestaticfinalString[]CLASSPATH_RESOURCE_LOCATIONS={ "classpath:/META-INF/resources/","c
ㄓㄤㄑㄧㄤ
·
2016-09-30 15:00
spring-boot
与mybatis整合优化介绍
SpringBoot官方文档http://docs.spring.io/
spring-boot
/docs/current/reference/htmlsingle/关于
spring-boot
与mybatis
ShawnRacine
·
2016-09-30 13:40
JAVA
spring-boot
读取props和yml配置文件
最近微框架
spring-boot
很火,笔者也跟风学习了一下,废话不多说,现给出一个读取配置文件的例子。
千山独行
·
2016-09-30 01:44
程序人生
spring-boot
读取props和yml配置文件
阅读更多最近微框架
spring-boot
很火,笔者也跟风学习了一下,废话不多说,现给出一个读取配置文件的例子。
sharong
·
2016-09-30 01:00
spring-boot
单元测试
spring
spring-boot
读取props和yml配置文件
最近微框架
spring-boot
很火,笔者也跟风学习了一下,废话不多说,现给出一个读取配置文件的例子。
sharong
·
2016-09-30 01:00
spring
单元测试
spring-boot
spring-boot
读取props和yml配置文件
阅读更多最近微框架
spring-boot
很火,笔者也跟风学习了一下,废话不多说,现给出一个读取配置文件的例子。
sharong
·
2016-09-30 01:00
spring-boot
单元测试
spring
Spring Boot入门例子
跟随SpringBoot的文档(http://docs.spring.io/
spring-boot
/docs/current-SNAPSHOT/reference/htmlsingle/#boot-documentation
浪子骑驴
·
2016-09-26 09:57
Spring
Boot
spring-boot
笔记
最近研究使用
spring-boot
进行项目开发和部署,在学习和使用过程中记录一些笔记,以备需要时查阅。
dushenzhi
·
2016-09-25 17:02
java
spring
springboot
maven
spring-boot
集成EasyUI和KindEditor
阅读更多spring-boot-easyui-kindeditor,依赖spring-boot-parentspring-bootEasyuiKindeditor项目启动后输入:http://localhost/#IDENTITY(ContextIdApplicationContextInitializer)spring.application.index=EasyUI-KindEditor-Di
lihao312
·
2016-09-25 12:00
spring-boot
easyui
kindeditor
dialog
win
spring-boot
集成EasyUI和KindEditor
spring-boot-easyui-kindeditor,依赖spring-boot-parentspring-bootEasyuiKindeditor项目启动后输入:http://localhost/#IDENTITY(ContextIdApplicationContextInitializer) spring.application.index=EasyUI-KindEditor-Dial
lihao312
·
2016-09-25 12:00
easyui
dialog
Win
spring-boot
kindeditor
spring-boot
集成EasyUI和KindEditor
阅读更多spring-boot-easyui-kindeditor,依赖spring-boot-parentspring-bootEasyuiKindeditor项目启动后输入:http://localhost/#IDENTITY(ContextIdApplicationContextInitializer)spring.application.index=EasyUI-KindEditor-Di
lihao312
·
2016-09-25 12:00
spring-boot
easyui
kindeditor
dialog
win
使用外部容器运行
spring-boot
项目:不使用
spring-boot
内置容器让
spring-boot
项目运行在外部tomcat容器中
前言:本项目基于maven构建
spring-boot
项目可以快速构建web应用,其内置的tomcat容器也十分方便我们的测试运行;
spring-boot
项目需要部署在外部容器中的时候,
spring-boot
本博客已停止维护!-eguid
·
2016-09-21 16:45
spring-boot
内置容器
tomcat
外部容器
spring-boot
spring
颠覆javaEE开发
使用外部容器运行
spring-boot
项目:不使用
spring-boot
内置容器让
spring-boot
项目运行在外部tomcat容器中
前言:本项目基于maven构建
spring-boot
项目可以快速构建web应用,其内置的tomcat容器也十分方便我们的测试运行;
spring-boot
项目需要部署在外部容器中的时候,
spring-boot
eguid_1
·
2016-09-21 16:00
tomcat
spring-boot
内置容器
外部容器
spring-boot
使用logback的坑
最近在写一个logback的kafkaappender,无意中发现
spring-boot
在使用logback时的一个坑用ConsoleAppender.java来举例,假设在logback.xml中使用了该
Cumu_
·
2016-09-12 15:00
spring-boot
spring
cloud
微服务
spring
cloud学习笔记
Gradle打包可直接运行的
spring-boot
应用
阅读更多参考资料:https://spring.io/guides/gs/spring-boot-docker/首先,修改build.gradle,在dependencies中添加gradle-docker:dependencies{classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
GodJohnny
·
2016-09-02 14:00
springboot
docker
gradle
spring-boot
集成sitemesh装饰器
spring-boot-sitemesh,依赖spring-boot-parentspring-bootEasyUiSiteMesh项目启动访问路径http://localhost/admin/index org.springframework.boot spring-boot-starter-parent 1.3.5.RELEASE org.sitemesh sitemesh
lihao312
·
2016-09-02 09:00
easyui
sitemesh
spring-boot
spring-mvc
spring-boot
集成sitemesh装饰器
阅读更多spring-boot-sitemesh,依赖spring-boot-parentspring-bootEasyUiSiteMesh项目启动访问路径http://localhost/admin/indexorg.springframework.bootspring-boot-starter-parent1.3.5.RELEASEorg.sitemeshsitemesh3.0.1public
lihao312
·
2016-09-02 09:00
spring-boot
sitemesh
easyui
spring-mvc
spring-boot
集成sitemesh装饰器
阅读更多spring-boot-sitemesh,依赖spring-boot-parentspring-bootEasyUiSiteMesh项目启动访问路径http://localhost/admin/indexorg.springframework.bootspring-boot-starter-parent1.3.5.RELEASEorg.sitemeshsitemesh3.0.1public
lihao312
·
2016-09-02 09:00
spring-boot
sitemesh
easyui
spring-mvc
微服务之Spring Boot 简单搭建
spring-boot
是由Pivotal团队提供的全新框架,其设计目的是用来简化新Spring应用的初始搭建以及开发过程。它不再需要繁琐的XML配置,能够自动发现并自动处理复杂的依赖管理。
qduningning
·
2016-08-28 00:00
spring
Web
Spring-Boot1.4.0项目部署问题小记
Linux机器上,其JDK版本是JDK7,启动报错:org/eclipse/jetty/webapp/WebAppContext:Unsupportedmajor.minorversion52.0由于在
spring-boot
qindongliang1922
·
2016-08-26 19:00
spring
spring-boot
Spring-Boot
中如何使用多线程处理任务
比如如下场景:使用
spring-boot
开发一个监
qindongliang1922
·
2016-08-25 19:00
java
spring
springboot
深入学习
spring-boot
系列(四)--使用idea调试,热部署
阅读更多一、开启idea自动make功能在StackOverFlow找到这么一段引用1-EnableAutomakefromthecompilerPRESS:CTRL+SHIFT+ATYPE:makeprojectautomaticallyPRESS:EnterEnableMakeProjectautomaticallyfeature2-EnableAutomakewhentheapplicati
jisonami
·
2016-08-20 00:00
idea
chrome
maven
深入学习
spring-boot
系列(四)--使用idea调试,热部署
一、开启idea自动make功能在StackOverFlow找到这么一段引用1-EnableAutomakefromthecompilerPRESS:CTRL+SHIFT+ATYPE:makeprojectautomaticallyPRESS:EnterEnableMakeProjectautomaticallyfeature2-EnableAutomakewhentheapplicationis
jisonami
·
2016-08-20 00:00
maven
chrome
idea
深入学习
spring-boot
系列(四)--使用idea调试,热部署
阅读更多一、开启idea自动make功能在StackOverFlow找到这么一段引用1-EnableAutomakefromthecompilerPRESS:CTRL+SHIFT+ATYPE:makeprojectautomaticallyPRESS:EnterEnableMakeProjectautomaticallyfeature2-EnableAutomakewhentheapplicati
jisonami
·
2016-08-20 00:00
idea
chrome
maven
spring-boot
代码生成工具
MybatisAutoCodeGenerationMapper/Service/Domain/SQL.xml,主要是针对某个数据库所有表[参考配置文件ConfigConstants],统一生成Domain/Service/Mapper,以及SQL.xml文件,如:针对t_customer,通过该应用生成CustonerInfo.java,CustomerSerivce.java/CustomerS
lihao312
·
2016-08-17 10:00
spring
mybatis
spring-boot
Autocode
code-generation
spring-boot
分页查询(关联表)
公司使用
spring-boot
框架.那么
spring-boot
框架究竟是什么呢?
玩绅沉
·
2016-08-08 23:46
springboot
不使用 spring-boot-starter-parent 构建 spring boot 应用
创建
spring-boot
应用通用方法是配置pom.xml,定义为spring-boot-start-parent。
崔瑜
·
2016-08-05 17:56
java
maven
spring
springboot
spring-boot
actuator(监控)配置和使用
spring-boot
的actuator(监控)功能提供了很多监控所需的接口。
Clement-Xu
·
2016-07-27 15:34
Spring
Boot
spring-boot
actuator(监控)配置和使用
spring-boot
的actuator(监控)功能提供了很多监控所需的接口。
Clement-Xu
·
2016-07-27 15:34
Spring
Boot
上一页
72
73
74
75
76
77
78
79
下一页
按字母分类:
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
其他