<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Faker_News的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Faker_News</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Faker_News]]></copyright><item><title><![CDATA[tk.mybatis插入数据报错 java.lang.InstantiationExceptiontk.mybatis.mapper.provider.base.BaseSelectProvider]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/111971292</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/111971292</guid><author>Faker_News</author><pubDate>Wed, 30 Dec 2020 13:01:05 +0800</pubDate><description><![CDATA[使用tk.mybatis插入数据报错：Cause: java.lang.InstantiationException: tk.mybatis.mapper.provider.base.BaseSelectProvider
具体报错：
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error invoking SqlProvider metho]]></description><category></category></item><item><title><![CDATA[SpringBoot启动报错：org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/111710850</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/111710850</guid><author>Faker_News</author><pubDate>Fri, 25 Dec 2020 22:13:33 +0800</pubDate><description><![CDATA[完整报错如下：太长，把我认为重要信息用下划线标重点。

WARN 7612 --- [      main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error...]]></description><category></category></item><item><title><![CDATA[多线程中几组方法辨析]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/108449328</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/108449328</guid><author>Faker_News</author><pubDate>Mon, 07 Sep 2020 16:34:55 +0800</pubDate><description><![CDATA[最近项目中查询百万数量级数据用到了多线程技术，顺便借着这次实践机会把多线程源码理了一下，不敢说全部看懂了，但是仔细区分了一下里面比较容易混淆的几组方法，在此做个小结，能力有限，有不足之处待以后补充。
第一组：Runnable接口和Callable接口
Runnable方法中定义一个唯一的run()方法，Callable中定义一个唯一的call()方法。通过阅读源码，我们知道，run()方法中的逻辑会在一个新线程中执行，它没有返回值；与此不同，call()方法会返回执行结果，或者抛出异常。实际操作过程中，实现]]></description><category></category></item><item><title><![CDATA[pagehelper的使用遇到的坑]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/108206584</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/108206584</guid><author>Faker_News</author><pubDate>Mon, 24 Aug 2020 19:53:37 +0800</pubDate><description><![CDATA[其实关于pagehelper分页实在没有什么坑值得跳的，因为相关技术成熟而且介绍使用方法的文章网上一堆，更重要的是pagehelper本身使用起来也很简单方便：PageHelper.startPage(pageNum,pageSize)，参数一个指页码，就是第几页，一个指页面有多少条数据。如果图省事就这一句够用了，不用在配置文件里配什么额外的属性。
当然，在这之前，你要正确地引入依赖，而我问题就出在这一步上。
它的依赖包是：com.github.pagehelper，而我因为直接把同事的pom文件拿过来，看]]></description><category></category></item><item><title><![CDATA[typeAliases 类别名的使用]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/108203321</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/108203321</guid><author>Faker_News</author><pubDate>Mon, 24 Aug 2020 17:33:38 +0800</pubDate><description><![CDATA[前言：最近在SpringBoot中用Mybatis查数据库，所用SQL非常复杂，在Mapper.xml中写配置时，因为第一次使用，resultType属性把我头搞大了。其实说起来很简单，几句话的事，但是你不了解就感觉一头雾水，你觉得自己理解了，回头自己用的时候又糊涂了。痛定思痛，决定一劳永逸地把这个问题解决，于是乎我去mybatis官网截了相关片段来翻译一下，官网讲得非常清楚。
首先，aliases：译作“别名”，这单词末尾自带一个“s”，并不是复数形式。typeAliases，顾名思义，就是类别名的意思。]]></description><category></category></item><item><title><![CDATA[Mysql8.0窗口函数：rank,dense_rank,row_number使用上的区别]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/106919941</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/106919941</guid><author>Faker_News</author><pubDate>Tue, 23 Jun 2020 12:05:42 +0800</pubDate><description><![CDATA[当我们需要按照各科成绩排序，并显示排名时，会用到窗口函数。

row_number：没有重复值的排序[记录相等也是不重复的]可以进行分页使用。
这个函数可以排出来个1234，但是有时候结果不符合我们预期。
rank：跳跃排序，这个更符合实际。比如，统计结束后，取前10名决定保研名单，实际上只有10个保研名额，名额是固定的，dense_rank连续排列可能满足条件的有13个人，rank跳跃排列取前10名就是取出来10条记录。
dense_rank：连续排序
具体语法可以参考这个链接：https://yq.al]]></description><category></category></item><item><title><![CDATA[Operand should contain 1 column(s)问题出在何处]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/106910185</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/106910185</guid><author>Faker_News</author><pubDate>Mon, 22 Jun 2020 21:32:11 +0800</pubDate><description><![CDATA[https://www.bilibili.com/video/BV1q4411G7Lw?p=20，做练习时遇到一个问题：
– 16、检索‘01’课程分数小于60分，按分数降序排列的学生信息
SQL语句：
SELECT a.s_id FROM student AS a
WHERE a.s_id IN
(SELECT s_id,s_score FROM score
WHERE c_id=‘01’
GROUP BY s_id HAVING s_score&lt;60
ORDER BY s_score DESC
)]]></description><category></category></item><item><title><![CDATA[IDEA中下载pom.xml配置文件中依赖jar速度慢的问题解决方案]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/106676562</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/106676562</guid><author>Faker_News</author><pubDate>Wed, 10 Jun 2020 22:38:50 +0800</pubDate><description><![CDATA[对于初次接触maven的人而言，下载依赖jar包速度过慢这个问题确实折磨人，白白浪费时间。
解决办法：在setting.xml文件中加入配置

nexus-aliyun
*
Nexus aliyun
http://maven.aliyun.com/nexus/content/groups/public

保存，重启一下IDEA使配置生效。
setting.xml配置文件的位置:

之所以配置前下载慢，是因为原setting.xml文件这段配置

  
    
  
默认会去远程中央仓库下载，网站在国外所以]]></description><category></category></item><item><title><![CDATA[CentOS7安装docker过程中报错：repomd.xml: [Errno 14] HTTPS Error 404 - Not Found]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/106652274</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/106652274</guid><author>Faker_News</author><pubDate>Tue, 09 Jun 2020 22:29:34 +0800</pubDate><description><![CDATA[这个坑掉进去十几个小时，翻了几十篇博文，最后发现致命的往往是我们忽略的细节，有感而发，这篇博文对大多数人起不到帮助，大家引我以为戒。
完整的报错信息：
failure: repodata/repomd.xml from docker-ce-stable: [Errno 256] No more mirrors to try.
https://mirrors.aliyun.com/docker-ce/linux/centos/7/i386/stable/repodata/repomd.xml: [Errno ]]></description><category></category></item><item><title><![CDATA[在IDEA中使用定制（外置）的Tomcat将SpringBoot工程打成war包并部署启动]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/106584817</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/106584817</guid><author>Faker_News</author><pubDate>Sat, 06 Jun 2020 13:34:58 +0800</pubDate><description><![CDATA[1、SpringBoot有内置Servlet容器，为何还要使用外置的容器（Tomcat）
嵌入式Servlet容器：应用打成可执行的jar包
优点：简单，便携
缺点：默认不支持JSP，优化定制比较复杂（使用定制器：修改ServerProperties或者定制嵌入式Servlet容器定制器，更高级的方式是：自己编写嵌入式Servlet容器的创建工厂【EmbeddedWebServerFactoryCustomizerAutoConfiguration】）
实际开发过程中，我们很多情况下绕不开Jsp，于是：
外]]></description><category></category></item><item><title><![CDATA[使用IDEA提供的Spring Initializr初始化器创建springboot工程失败：Initialization failed for https://start.spring.io]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/106479398</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/106479398</guid><author>Faker_News</author><pubDate>Mon, 01 Jun 2020 18:36:49 +0800</pubDate><description><![CDATA[问题描述：Initialization failed for ‘https://start.spring.io’
Please check URL, network and proxy settings.
Error message:
Error parsing JSON response
上午用spring Initializr创建spring boot项目没有问题，下午再用时就报这样的错误。
于是自己百度了很多博客，假模假样地按照他们的解决办法，

于是我又连上自己的热点

于是我又煞有介事地


你以]]></description><category></category></item><item><title><![CDATA[记录一个学习spingboot过程中遇到的问题：Error:(3, 32) java: 程序包org.springframework.boot不存在，Error:(9, 2) java: 找不到符号]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/106344172</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/106344172</guid><author>Faker_News</author><pubDate>Mon, 25 May 2020 22:44:39 +0800</pubDate><description><![CDATA[试过很多种解决方案，包括降低springboot版本，设置maven自动下载导入依赖等等，最让人疑惑的是按照文件路径找下去，明明文件是存在的，现在还无法解决这个问题，万事开头难，还是要迎难而上。

...]]></description><category></category></item><item><title><![CDATA[git从远程库克隆遇到问题和解决方案]]></title><link>https://blog.youkuaiyun.com/Faker_News/article/details/106241611</link><guid>https://blog.youkuaiyun.com/Faker_News/article/details/106241611</guid><author>Faker_News</author><pubDate>Wed, 20 May 2020 18:14:15 +0800</pubDate><description><![CDATA[问题描述：
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
克隆命令：
git clone git@github.com:zhangxxxx/gitskills.git
解决办法：
将“git@github.com:]]></description><category></category></item></channel></rss>