随笔分类 -  Spring Boot

从字面理解,Boot是引导的意思,因此SpringBoot帮助开发者快速搭建Spring框架;SpringBoot帮助开发者快速启动一个Web容器;SpringBoot帮助开发者快速启动一个Web容器;SpringBoot帮助开发者快速启动一个Web容器;
springboot学习源码
摘要:springbootTest 学习源码链接 启动前,需要创建数据库表,修改自己的链接配置 create database test01; use test01; CREATE TABLE category_ ( id int(11) NOT NULL AUTO_INCREMENT, name var 阅读全文

posted @ 2019-11-22 12:05 仰望星空的脚踏实地 阅读(429) 评论(0) 推荐(0)

NoNodeAvailableException[None of the configured nodes are available:[.127.0.0.1}{127.0.0.1:9300]
摘要:我在springboot 集成 elasticsearch,启动springboot测试创建索引,建立索引的时候报 NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{jzxmY2H9RVSWNO1-6y28sA}{127.0.0.1}{127.0.0.1:9300}]] 阅读全文

posted @ 2019-05-15 14:28 仰望星空的脚踏实地 阅读(2101) 评论(0) 推荐(0)

java.lang.IllegalStateException: Received message from unsupported version: [5.2.2] minimal compatible version is: [5.6.0]
摘要:启动elasticsearch-6.2.2-Windows服务时报错:java.lang.IllegalStateException: Received message from unsupported version: [5.2.2] minimal compatible version is: [5.6.0] 阅读全文

posted @ 2019-05-15 11:34 仰望星空的脚踏实地 阅读(6637) 评论(0) 推荐(0)

Failed to instantiate [org.elasticsearch.client.transport.TransportClient]
摘要:当我按elasticsearch老版本2.x(2.4.6)引用maven文件时,如下: Failed to instantiate [org.elasticsearch.client.transport.TransportClient] org.elasticsearch.client低版本 报找不到getTransportClient() 阅读全文

posted @ 2019-05-15 11:25 仰望星空的脚踏实地 阅读(4678) 评论(0) 推荐(0)

java.lang.ClassNotFoundException: com.sun.jna.Native
摘要:Springboot 集成 ElasticSearch的时候,报错如下: java.lang.ClassNotFoundException: com.sun.jna.Native 阅读全文

posted @ 2019-05-15 11:18 仰望星空的脚踏实地 阅读(6282) 评论(0) 推荐(0)

springboot集成elasticsearch
摘要:一种直接使用官方的集成工具(引用spring-boot-starter-data-elasticsearch依赖),然后通过hibernate JPA规范,dao层继承ElasticsearchRepository,controller依赖注入这个dao接口,就相当于对索引库操作了。 另一种是自己写Client连接。如本知识点。 阅读全文

posted @ 2019-05-15 11:03 仰望星空的脚踏实地 阅读(8603) 评论(0) 推荐(0)

springboot集成swagger2
摘要:springboot集成swagger2 阅读全文

posted @ 2019-05-10 17:40 仰望星空的脚踏实地 阅读(66624) 评论(3) 推荐(3)

springboot单元测试
摘要:springboot之单元测试 阅读全文

posted @ 2019-05-08 11:38 仰望星空的脚踏实地 阅读(3817) 评论(0) 推荐(0)

springboot之restful风格
摘要:Spring Boot 如何开发restful风格的项目 阅读全文

posted @ 2018-07-30 14:45 仰望星空的脚踏实地 阅读(1239) 评论(0) 推荐(0)

springboot上传图片文件
摘要:Spring Boot 如何上传图片文件? 阅读全文

posted @ 2018-07-26 16:35 仰望星空的脚踏实地 阅读(42006) 评论(1) 推荐(1)

springboot CRUD+分页(基于Mybatis注解方式)
摘要:springboot 增删改查+分页(基于Mybatis注解方式) 阅读全文

posted @ 2018-07-26 15:22 仰望星空的脚踏实地 阅读(3518) 评论(1) 推荐(0)

springboot CRUD+分页(基于JPA规范)
摘要:springboot 增删改查+分页(基于JPA规范) 阅读全文

posted @ 2018-07-26 10:50 仰望星空的脚踏实地 阅读(3533) 评论(0) 推荐(1)

springboot中yml配置文件
摘要:springboot中yml配置文件的书写格式! 阅读全文

posted @ 2018-07-25 16:12 仰望星空的脚踏实地 阅读(27659) 评论(0) 推荐(1)

springboot中配置切换
摘要:springboot 中配置切换,这样就可以通过多配置文件实现多配置支持与灵活切换 ! 阅读全文

posted @ 2018-07-25 15:50 仰望星空的脚踏实地 阅读(410) 评论(0) 推荐(0)

springboot中修改端口和上下文路径
摘要:springboot如何修改应用中访问的端口和上下文路径? 阅读全文

posted @ 2018-07-25 15:22 仰望星空的脚踏实地 阅读(4575) 评论(0) 推荐(0)

springboot中全局异常处理器
摘要:springboot 中全局异常处理器,就是把错误异常统一处理的方法;等价于Springmvc中的异常处理器。 阅读全文

posted @ 2018-07-25 15:10 仰望星空的脚踏实地 阅读(6381) 评论(1) 推荐(2)

springboot热部署
摘要:如何让springboot自动重启--》热部署 阅读全文

posted @ 2018-07-25 14:33 仰望星空的脚踏实地 阅读(459) 评论(0) 推荐(0)

springboot中使用jsp
摘要:如何在springboot中使用jsp 阅读全文

posted @ 2018-07-25 14:17 仰望星空的脚踏实地 阅读(48130) 评论(0) 推荐(0)

java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
摘要:java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] 阅读全文

posted @ 2018-07-24 15:55 仰望星空的脚踏实地 阅读(3197) 评论(0) 推荐(0)

用WAR的方式部署SpringBoot项目
摘要:用WAR的方式部署SpringBoot项目 阅读全文

posted @ 2018-07-24 14:15 仰望星空的脚踏实地 阅读(15683) 评论(0) 推荐(0)