会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
N!CE波
我的GitHub地址: https://github.com/zhangboqing
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
···
35
下一页
2020年6月16日
【Maven异常】Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
摘要: 一、异常信息 Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0 at java
阅读全文
posted @ 2020-06-16 22:37 N!CE波
阅读(1192)
评论(0)
推荐(0)
2020年6月14日
【异常】ShardingSphere启动很慢的问题 Too slow to load meta data when start up
摘要: 一、出现的场景 依赖的sharding-jdbc-core的版本从 <version>4.0.0</version>升级到<version>4.1.1</version>,导致项目启动特别慢 <dependency> <groupId>org.apache.shardingsphere</group
阅读全文
posted @ 2020-06-14 13:51 N!CE波
阅读(7404)
评论(2)
推荐(0)
2020年6月10日
【异常】com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
摘要: 一、异常信息 com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. at sun.reflect.NativeCons
阅读全文
posted @ 2020-06-10 21:45 N!CE波
阅读(1606)
评论(0)
推荐(1)
2020年6月7日
【WEB前端】web前端获取的long长整型字段精度丢失问题,解决方案?
摘要: 两种解决方案: 1、 需要运算的话可以用三方库,Long.js 2、 不需要运算的话,后端将long长整型字段改为string
阅读全文
posted @ 2020-06-07 11:51 N!CE波
阅读(1869)
评论(0)
推荐(0)
2020年5月31日
【Git】如何将本地非git目录与远程创建的git目录建立关联
摘要: 一、操作步骤 1、git init //git初始化 2、git add --all . 3、git commit - m "first commit" 4、git remote add origin gitUrl //将git进行远程连线 5、git push -u origin master /
阅读全文
posted @ 2020-05-31 16:37 N!CE波
阅读(529)
评论(0)
推荐(0)
2020年5月24日
【Spring Boot】Spring Boot之整合Spring security实现JWT权限认证
摘要: 一、先看下DaoAuthenticationProvider的认证过程 1、从读取用户名和密码开始的身份验证Filter将一个UsernamePasswordAuthenticationToken传递给由ProviderManager实现的AuthenticationManager。 2、Provi
阅读全文
posted @ 2020-05-24 15:48 N!CE波
阅读(730)
评论(0)
推荐(0)
2020年5月16日
【Maven】安装nexus私服
摘要: 一、下载安装文件 下载地址 https://my.sonatype.com/ 文档地址:https://help.sonatype.com/docs 比如我下载的mac版本的:nexus-3.23.0-03-mac.tgz 1、解压安装包到指定目录解压缩后放在某个目录下,包含两个子目录 nexus-
阅读全文
posted @ 2020-05-16 15:37 N!CE波
阅读(412)
评论(0)
推荐(0)
2020年5月10日
【Java】如何获取文件的创建时间、更新时间
摘要: 一、通过下面方式 BasicFileAttributes attr = null; try { Path path = file.toPath(); attr = Files.readAttributes(path, BasicFileAttributes.class); } catch (IOEx
阅读全文
posted @ 2020-05-10 23:57 N!CE波
阅读(12718)
评论(0)
推荐(1)
2020年5月5日
【Java】java扩展机制SPI 实现
摘要: 一、SPI是什么 SPI机制(Service Provider Interface),是一种将服务接口与服务实现分离以达到解耦、大大提升了程序可扩展性的机制。引入服务提供者就是引入了spi接口的实现者,通过本地的注册发现获取到具体的实现类,轻松可插拔。 场景:比较典型的一个场景就是JDBC中加载驱动
阅读全文
posted @ 2020-05-05 16:58 N!CE波
阅读(544)
评论(0)
推荐(0)
2020年4月30日
【Mysql安装】Mac下安装mysql
摘要: 一、使用homebrew命令安装 brew install mysql 安装完会有类型的安装路径:/Users/zhangboqing/homebrew/Cellar/mysql/8.0.19/bin可以为mysql命令建立软连接 ln -s /Users/zhangboqing/homebrew/
阅读全文
posted @ 2020-04-30 22:41 N!CE波
阅读(229)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
35
下一页
公告