<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lost__cat的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/lost__cat</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; lost__cat]]></copyright><item><title><![CDATA[mysql连接报错HikariPool-1 - Exception during pool initialization.]]></title><link>https://blog.youkuaiyun.com/lost__cat/article/details/105840803</link><guid>https://blog.youkuaiyun.com/lost__cat/article/details/105840803</guid><author>lost__cat</author><pubDate>Wed, 29 Apr 2020 15:27:17 +0800</pubDate><description><![CDATA[场景：

在学习spring boot中mybatis连接数据库MySQL时，最新版数据库的驱动为
driver-class-name: com.mysql.cj.jdbc.Driver
可是修改完这里后数据库依旧无法连接，异常信息为：
HikariPool-1 - Exception during pool initialization.

原因：

数据库没有设置时区或时区设置不对

解决方法...]]></description><category></category></item><item><title><![CDATA[spring boot 启动的时候required a bean of type 'XXX' not be]]></title><link>https://blog.youkuaiyun.com/lost__cat/article/details/105832737</link><guid>https://blog.youkuaiyun.com/lost__cat/article/details/105832737</guid><author>lost__cat</author><pubDate>Wed, 29 Apr 2020 09:47:41 +0800</pubDate><description><![CDATA[https://www.jianshu.com/p/cd886bde3170


]]></description><category></category></item><item><title><![CDATA[springboot异常Annotation-specified bean name.. for bean class ...]]></title><link>https://blog.youkuaiyun.com/lost__cat/article/details/105778561</link><guid>https://blog.youkuaiyun.com/lost__cat/article/details/105778561</guid><author>lost__cat</author><pubDate>Mon, 27 Apr 2020 10:09:32 +0800</pubDate><description><![CDATA[异常：

springframework.beans.factory.BeanDefinitionStoreException: Failed to
parse configuration class [com.itcodai.course01.Course01Application];
nested exception is
org.springframework.context.annotat...]]></description><category></category></item><item><title><![CDATA[swagger2 生成api接口文档]]></title><link>https://blog.youkuaiyun.com/lost__cat/article/details/105783550</link><guid>https://blog.youkuaiyun.com/lost__cat/article/details/105783550</guid><author>lost__cat</author><pubDate>Mon, 27 Apr 2020 09:58:10 +0800</pubDate><description><![CDATA[swagger2的配置
package com.itcodai.course01.Swagger2Test;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation....]]></description><category></category></item><item><title><![CDATA[java堆栈的模拟案例]]></title><link>https://blog.youkuaiyun.com/lost__cat/article/details/105748218</link><guid>https://blog.youkuaiyun.com/lost__cat/article/details/105748218</guid><author>lost__cat</author><pubDate>Sat, 25 Apr 2020 13:08:14 +0800</pubDate><description><![CDATA[栈的特点：先进后出！
/**
 * 自己设计的栈堆
 * 使用java模拟栈堆出栈和入栈的过程
 */
public class StackModel {
    private int[] stackModel = new int[5];
    private int hand = -1;

    public StackModel() {
    }

    public void pu...]]></description><category></category></item><item><title><![CDATA[选择排序---Java实现]]></title><link>https://blog.youkuaiyun.com/lost__cat/article/details/105739781</link><guid>https://blog.youkuaiyun.com/lost__cat/article/details/105739781</guid><author>lost__cat</author><pubDate>Fri, 24 Apr 2020 21:20:24 +0800</pubDate><description><![CDATA[选择排序
将要排序的元素a与数组中的每一个元素做比较，若有元素比a小，则该元素与a交换位置。如此重复当遍历一次数组后就能保证a是所有元素中最小的。
public class mySelectionSort {
    public static void selectionSort(int[] list) {
        for (int i = 0; i &lt; list.length; ...]]></description><category></category></item><item><title><![CDATA[java 二分查找]]></title><link>https://blog.youkuaiyun.com/lost__cat/article/details/105735480</link><guid>https://blog.youkuaiyun.com/lost__cat/article/details/105735480</guid><author>lost__cat</author><pubDate>Fri, 24 Apr 2020 17:15:19 +0800</pubDate><description><![CDATA[Java二分查找
原理就不介绍了，大家都懂。说一下二分查找的前提

数组中的元素必须已经拍好顺序
自己写的代码：

public static int binarySearch(double[] nubmers, int number) {
    int low = 0, hight = nubmers.length - 1, mid;

    while (hight &gt;= low) ...]]></description><category></category></item><item><title><![CDATA[java 实例学习：统计每个字母出现的次数]]></title><link>https://blog.youkuaiyun.com/lost__cat/article/details/105729769</link><guid>https://blog.youkuaiyun.com/lost__cat/article/details/105729769</guid><author>lost__cat</author><pubDate>Fri, 24 Apr 2020 14:21:58 +0800</pubDate><description><![CDATA[复习Java程序设计时看到书上的案例，当时学生时期没看懂。现在回过头突然明白了，记录学习一下其中和兴的方法。
public static int[] countLetters(char[] chars){
	int[] counts = new int[26];
	
	for (int i = 0; i &lt; char.length; i++)
		counts[chars[i] - 'a']...]]></description><category></category></item><item><title><![CDATA[java基础补习]]></title><link>https://blog.youkuaiyun.com/lost__cat/article/details/105729009</link><guid>https://blog.youkuaiyun.com/lost__cat/article/details/105729009</guid><author>lost__cat</author><pubDate>Fri, 24 Apr 2020 13:59:20 +0800</pubDate><description><![CDATA[java可边长参数列表
具有同样类型的可变长度的参数可以传递给方法。并将之以数组对待。
方法中的参数声明如下：
typeName… &nbsp; parameterName(类型名… &nbsp; 参数名)
注意事项：	指定类型后紧跟省略号…
只能给方法中指定一个可变长参数，同时该参数必须放在所有参数后面。

...]]></description><category></category></item></channel></rss>