会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zincredible
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
4
5
6
7
8
2018年8月17日
右键添加cmd notePad++快捷键
摘要: 1.将以下文字复制到txt文本,将txt修改为reg执行后,邮件菜单查。 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\runas] @="命令提示符(管理员)" "icon"="
阅读全文
posted @ 2018-08-17 15:11 zincredible
阅读(829)
评论(0)
推荐(0)
2018年7月29日
搭建springCloud网关zuul
摘要: 一.pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.ap
阅读全文
posted @ 2018-07-29 21:39 zincredible
阅读(375)
评论(0)
推荐(0)
springboot添加https
摘要: 一、使用JDK工具keytool生成证书 keytool命令详解 https://blog.csdn.net/zlfing/article/details/77648430 keytool -genkey -alias tomcat -keypass password -storetype PKCS
阅读全文
posted @ 2018-07-29 21:17 zincredible
阅读(233)
评论(0)
推荐(0)
2018年7月5日
SpringBoot上传文件,经过spingCloud-Zuul,中文文件名乱码解决办法
摘要: 最近用springCloud整合springboot做分布式服务发现经过zuul之后上传的中文文件名乱码全都变成?????,从而引发异常,单独用springboot却是好的,在网上找到相关资料总结如下: 网关将所有以/zuul请求的请求都走zuulServlet,不带/zuul的请求都走spring
阅读全文
posted @ 2018-07-05 15:56 zincredible
阅读(1591)
评论(0)
推荐(0)
2018年6月20日
springboot mongodb jpa常用方法整理
摘要: 官方文档https://docs.spring.io/spring-data/data-mongodb/docs/current/reference/html/index.html 查询: *******************************************************
阅读全文
posted @ 2018-06-20 23:29 zincredible
阅读(7474)
评论(0)
推荐(0)
2018年6月6日
springboot拦截中自动注入的组件为null问题解决方法
摘要: 一、写SpringUtil类来获取Springh管理的类实例,判断是否注入成功,如果没有注入成功重新获取注入 package com.util; import org.springframework.beans.BeansException; import org.springframework.c
阅读全文
posted @ 2018-06-06 11:14 zincredible
阅读(2586)
评论(0)
推荐(0)
2018年5月30日
springboot JPA mysql
摘要: 官方文档 https://docs.spring.io/spring-data/jpa/docs/1.11.10.RELEASE/reference/html/ 常用关键字 通常,JPA的查询创建机制与Query方法中描述的一样。以下是JPA查询方法转换为的简短示例: 示例45.从方法名称创建查询
阅读全文
posted @ 2018-05-30 16:40 zincredible
阅读(574)
评论(0)
推荐(0)
转载Spring Data JPA 指南——整理自官方参考文档
摘要: 转载:https://blog.csdn.net/u014633852/article/details/52607346 官方文档 https://docs.spring.io/spring-data/jpa/docs/2.2.3.RELEASE/reference/html/#reference
阅读全文
posted @ 2018-05-30 16:36 zincredible
阅读(174)
评论(0)
推荐(0)
2018年5月19日
springboot带有进度条的上传
摘要: 一、说明 最近要做文件上传,在网上找了很久都没有一个全面的示例,特此记录下来分享给大家。 1.文件上传接口可按照springboot默认实现,也可用commons-fileupload组件,本示例使用springboot默认文件上传 2.最后也有commons-fileupload组件接口示例 2.
阅读全文
posted @ 2018-05-19 16:18 zincredible
阅读(12426)
评论(6)
推荐(0)
2018年3月11日
java-aop
摘要: AOP(面向切面编程),官方定义就不讲了,可自行百度。按照我自己的理解就是,将代码片段动态的注入某一个已知的代码片段某一处。这样做的好处就是,在不改变原有代码情况下,又能扩充原有业务的功能。 AOP有两种实现方式: 1.动态代理 例子: 假设我们向给一个类的方法入口和出口各打印一行日志,但我们又不能
阅读全文
posted @ 2018-03-11 17:48 zincredible
阅读(303)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
公告