码迷,mamicode.com
首页 >  
搜索关键字:Springboot    ( 9666个结果)
@SpringBootApplication 标注非引导类
1、引导类 2、WebConfiguration 也可以正常运行。 见《springboot-05-SpringBootApplication-03-tagnoapp》 ...
分类:移动开发   时间:2019-10-25 23:41:24    阅读次数:222
java架构之路-(Redis专题)SpringBoot连接Redis超简单
上次我们搭建了Redis的主从架构,哨兵架构以及我们的集群架构,但是我们一直还未投入到实战中去,这次我们用jedis和springboot两种方式来操作一下我们的redis 主从架构 如何配置我上次已经讲过了,https://www.cnblogs.com/cxiaocai/p/11711377.h ...
分类:编程语言   时间:2019-10-25 10:30:16    阅读次数:85
运行springboot项目报错:Field userMapper in XX required a bean of type 'xx' that could not be found.
运行springboot项目报错: *************************** APPLICATION FAILED TO START *************************** Description: Field userMapper in com.whohim.spri ...
分类:移动开发   时间:2019-10-25 09:43:07    阅读次数:4091
springBoot jar包 改为 war包 启动
一丶 新增maven 依赖,一级 build 四丶 FlowBootStap类 ...
分类:编程语言   时间:2019-10-24 21:13:26    阅读次数:84
springboot-mybatis配置问题
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)问题 ...
分类:编程语言   时间:2019-10-24 19:52:15    阅读次数:75
springboot cache缓存的简单使用
本案例需要用到的软件有redis和oracle pom.xml如下 application.properties 如下 Controller Dao 启动类 然后就可以自己查询缓存是否使用. ...
分类:编程语言   时间:2019-10-24 15:37:57    阅读次数:96
Mybatis的原理分析1(@Mapper是如何生效的)
接着我们上次说的SpringBoot自动加载原理。我们大概明白了在maven中引入mybatis后,这个模块是如下加载的。 可能会有人问了,一般我们的dao层都是通过Mapper接口+Mapper.xml的方式来操作数据库的,但是@Mapper注解并不是SpringBoot自带的注解,为什么加上@M ...
分类:移动开发   时间:2019-10-24 15:13:41    阅读次数:221
SpringBoot 注解
来记录一下springBoot使用频率较高的注解 ...
分类:编程语言   时间:2019-10-24 15:12:54    阅读次数:69
SpringBoot集合Linux的FastDFS与Nginx上传图片测试错误com.github.tobato.fastdfs.exception.FdfsConnectException: 无法获取服务端连接资源:can't create connection to/192.168.1.104:22122
发布于:2019 07 03 14:59 解决办法 依次执行以下两条命令,来关闭防火墙 如果输入之后,docker失效,需要重启docker ...
分类:编程语言   时间:2019-10-24 11:45:06    阅读次数:1137
SpringBoot JPA懒加载异常 - com.fasterxml.jackson.databind.JsonMappingException: could not initialize proxy
问题与分析 某日忽然发现在用postman测试数据时报错如下: <! more 报错很明显,是由于hibernate的懒加载引起的。项目使用的是SpringBoot框架,JPA默认使用的是hibernate的实现,而hibernate的懒加载机制其实就是延迟加载对象,如果没有在session关闭前使 ...
分类:移动开发   时间:2019-10-24 10:21:20    阅读次数:99
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!