logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

fatal: unable to access 'https://github.com/*/*.git/': error setting certificate

从GitHub上拉代码到本地,报错F:\work\customs>git clone https://github.com/MedalJiao/test.gitCloning into 'test'...fatal: unable to access 'https://github.com/MedalJiao/test.git/': error setting certificat.

spring boot项目配置多个环境

比如我的spring boot项目有开发(dev)、测试(test)、生产(prod)三个环境,需要有三套对应的配置文件。如下在项目里application.yml为主配置文件,另外三个分别对应不同环境的配置。application.yml详细如下:spring:profiles:active: @profileActive@其中的active就是指定了是使用...

#spring boot
org.apache.ibatis.binding.BindingException: Parameter '__frch_item_0' not found. Available parameter

1、问题背景:今天使用MyBatis的批量插入功能,结果报了这个错:org.apache.ibatis.binding.BindingException: Parameter '__frch_item_0' not found. Available parameters are [list]源sql如下:2、分析问题:List中放置的是我自定义的一个类对象,最初怀疑:是不是...

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target根据错误提示,...

Windows系统配置.bat启动spring boot项目jar

背景:项目用spring boot构建,maven管理,本地测试好之后打成jar包,在dos窗口可以通过:java -jar demo.jar来启动demo项目,一旦关闭该dos窗口demo项目也被停止,如果有多个spring boot项目,同时打开多个dos窗口显然不合理,遂考虑用Windows脚本文件的方式来后台运行jar文件。1、新建一个txt文本文件,打开写入如下:@echo o...

#jar#spring boot
java web项目长时间没有请求与mysql的连接断开,服务器报错

mysql有一个连接超时时间的概念。。。查询此项目的数据库的连接超时时间为28800秒,即为8小时。。mysql> show global variables like 'wait_timeout';+---------------+-------+| Variable_name | Value |+---------------+-------+| wait_timeout  ..

shiro SecurityUtils.getSubject()深度分析

原文路径:https://ahua186186.iteye.com/blog/24076081.总的来说,SecurityUtils.getSubject()是每个请求创建一个Subject, 并保存到ThreadContext的resources(ThreadLocal<Map<Object, Object>>)变量中,也就是一个http请

UTF-8与GBK互转,为什么会乱码

原文路径:http://blog.csdn.net/u010234516/article/details/52853214 我们知道,计算机存储数据都是2进制,就是0和1,那么这么多的字符就都需要有自己对应的0和1组成的序列,计算机将需要存储的字符转换成它们对应的01序列,然后就可以储存在电脑里了。 比如我们可以定义用8位2进制表示一个字符,“00000000”表示小写字母“a”,...

can t connect to mysql server on 'localhost'

问题分析:无法连接到 mysql 服务器,可能的情况为:1、mysql 服务没有启动,一般是在异常的情况下 mysql 无法启动导致的,比如无可用的磁盘空间,my.ini 里 mysql 的 basedir 路径设置错误等;2、mysql 服务器资源紧张,导致无法连接。解决方法:1、如果你是虚拟主机用户(购买的空间),则联系空间商检查 mysql 是否正常启动,并确认 mys...

Java判断Integer类型的值是否相等

public class Demo {public static void main(String[] args) {Integer c = -128;Integer d = -128;System.out.println("c == d: " + (c == d));System.out.println("c.equals(d): " + c.equals

    共 12 条
  • 1
  • 2
  • 请选择