<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Jason_We的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Jason_We</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Jason_We]]></copyright><item><title><![CDATA[微服务开发工具及环境搭建]]></title><link>https://blog.csdn.net/Jason_We/article/details/136186328</link><guid>https://blog.csdn.net/Jason_We/article/details/136186328</guid><author>Jason_We</author><pubDate>Tue, 20 Feb 2024 11:33:24 +0800</pubDate><description><![CDATA[【代码】微服务开发工具及环境搭建。]]></description><category></category></item><item><title><![CDATA[Java前后端分离项目生成二维码链接带中文参数遇到的问题及解决办法]]></title><link>https://blog.csdn.net/Jason_We/article/details/126324294</link><guid>https://blog.csdn.net/Jason_We/article/details/126324294</guid><author>Jason_We</author><pubDate>Sat, 13 Aug 2022 21:08:37 +0800</pubDate><description><![CDATA[最近项目做二维码分享链接过程中遇到了个小问题，使用Java后端生成二维码链接时，当拼接的参数中带有中文，使用手机浏览器扫码正常，但是用微信扫码，url中的中文被和谐掉了，导致页面显示有问题。解决方案首先想到的就是url编码以及转码，即后端将url进行编码，然后在前端进行解码。下面分享一种网上找到的博主的解决办法，留作备忘。...]]></description><category></category></item><item><title><![CDATA[springboot 配置tomcat 开启多端口监听]]></title><link>https://blog.csdn.net/Jason_We/article/details/123745415</link><guid>https://blog.csdn.net/Jason_We/article/details/123745415</guid><author>Jason_We</author><pubDate>Fri, 25 Mar 2022 21:18:36 +0800</pubDate><description><![CDATA[配置文件 （application.yml）中配置端口号
server:
  port: 8008
  additionalPorts: 8009,8010

新建一个配置类进行配置
@Configuration
public class TomcatMultiPortConfig {

    @Value("${server.additionalPorts}")
    private String additionalPorts;

    @Bean
    public TomcatServlet]]></description><category></category></item><item><title><![CDATA[Java awt使用font中文时 在Linux上显示乱码问题解决]]></title><link>https://blog.csdn.net/Jason_We/article/details/117665051</link><guid>https://blog.csdn.net/Jason_We/article/details/117665051</guid><author>Jason_We</author><pubDate>Mon, 07 Jun 2021 16:26:03 +0800</pubDate><description><![CDATA[问题描述
使用Java写项目时，有时候会用到awt工具包中得font，如：
new java.awt.Font(“宋体”,Font.BOLD,13); 这在windows下可以正常显示，没有问题，但是项目写好了部署到linux上时却发现本该显示中文的地方都变成了乱码。
原因及解决办法
原因简单的说就是Linux系统中没有安装中文字体，导致jvm在选择字体时无法正常显示，详细原因可参考这篇文章。
知道了问题的根因，解决起来就简单多了。解决办法就是在Linux上下载所需字体库并安装即可。最后附上我的解决过程作参]]></description><category></category></item><item><title><![CDATA[npm项目install 偶有报错导致不能启动应用 一般解决办法记录]]></title><link>https://blog.csdn.net/Jason_We/article/details/117607405</link><guid>https://blog.csdn.net/Jason_We/article/details/117607405</guid><author>Jason_We</author><pubDate>Sat, 05 Jun 2021 23:14:54 +0800</pubDate><description><![CDATA[问题描述
有时候前端项目从一个设备迁移到另一个设备上或者从网上克隆前端项目之后我们通常都会npm install一下，将项目的依赖下载下来之后运行项目。但是，有些时候执行npm install 时会遇到这样或那样的报错，导致依赖下不下来，项目跑不起来。
解决办法

使用cnpm install 再试一下（极个别情况管用）
定位具体的报错位置，删掉相关报错的包（如果有的话）重新npm install
定位具体报错之后仍无法解决问题，可以将项目的node_modules文件夹全部删掉。然后重新cnpm inst]]></description><category></category></item><item><title><![CDATA[@Scheduled 注解任务执行重叠总结]]></title><link>https://blog.csdn.net/Jason_We/article/details/117607190</link><guid>https://blog.csdn.net/Jason_We/article/details/117607190</guid><author>Jason_We</author><pubDate>Sat, 05 Jun 2021 22:45:45 +0800</pubDate><description><![CDATA[cron表达式 ： 如果任务执行时间超过了之后执行的若干时间点，则之后的时间点定时任务被跳过，不执行。
fixRate ： 表示任务执行之间的时间间隔，具体是指两次任务的开始时间间隔，即第二次任务开始时，第一次任务可能还没结束。
fixDelay ： 表示任务执行之间的时间间隔，具体是指前一个任务的结束和后一个任务的开始间隔，即上一个任务执行完之后的若干时间后再次执行任务，因此不会产生冲突。


...]]></description><category></category></item><item><title><![CDATA[tomcat启动慢,Creation of SecureRandom instance for session ID generation using [SHA1PRNG]took [xx] ms]]></title><link>https://blog.csdn.net/Jason_We/article/details/116741996</link><guid>https://blog.csdn.net/Jason_We/article/details/116741996</guid><author>Jason_We</author><pubDate>Thu, 13 May 2021 11:11:00 +0800</pubDate><description><![CDATA[问题描述
Linux环境部署jar包，tomcat启动极慢。查看日志发现有如下内容：
Creation of SecureRandom instance for session ID generation using [SHA1PRNG]took [449393] milliseconds

解决办法及原理
参考本站大佬文章

]]></description><category></category></item><item><title><![CDATA[打包部署spring boot项目到Linux并后台运行]]></title><link>https://blog.csdn.net/Jason_We/article/details/113663318</link><guid>https://blog.csdn.net/Jason_We/article/details/113663318</guid><author>Jason_We</author><pubDate>Thu, 04 Feb 2021 21:06:09 +0800</pubDate><description><![CDATA[导航如何打包如何上传如何运行如何停止觉得麻烦？可以写点半自动脚本以下文章也不错，供参考，一起进步！
这里讲简单的小型项目通常的部署方式，即不使用docker和k8s类似的那一套自动化运维方式。一般地，对于spring boot 项目，我们会把开发测试好的项目打成可执行的jar包，使用scp等方式将jar包上传至生产服务器，这样只需Linux上有Java执行环境即可运行。
如何打包

用maven插件，先clean ，然后package 即可；【idea常用方式】
编辑运行,右键项目 run as ,在mav]]></description><category></category></item><item><title><![CDATA[mysql自增主键怎么用]]></title><link>https://blog.csdn.net/Jason_We/article/details/113559588</link><guid>https://blog.csdn.net/Jason_We/article/details/113559588</guid><author>Jason_We</author><pubDate>Tue, 02 Feb 2021 16:09:22 +0800</pubDate><description><![CDATA[导航自增主键怎么设置MySQL是怎么保存自增主键的自增主键的修改机制造成自增主键不连续的几种情形自增主键和UUID及随机ID比较自增主键的好处自增主键的坏处UUID及随机ID参考文章
自增主键怎么设置
通常，自增主键的设置如下：
`id` int unsigned NOT NULL AUTO_INCREMENT,

如果设置成这样，则id的取值范围是[0, 2^32 -1],即[0,4294967295].若表的数据量庞大，自增主键超过4294967295时，会报主键冲突异常，导致数据无法插入。
解决办法是]]></description><category></category></item><item><title><![CDATA[解决druid新版本报错 discard long time none received connection.]]></title><link>https://blog.csdn.net/Jason_We/article/details/113538673</link><guid>https://blog.csdn.net/Jason_We/article/details/113538673</guid><author>Jason_We</author><pubDate>Tue, 02 Feb 2021 10:11:35 +0800</pubDate><description><![CDATA[导航问题现象产生原因解决办法一点反思
问题现象
本人使用的druid版本为1.2.1，再开发时，console控制台总是时不时打印一段 ：
 discard long time none received connection. jdbcUrl : xxxx

看着就很蛋疼，于是本着非主流不负责的态度就上网寻求问题原因????
产生原因
网上搜罗了一圈，也算知晓了问题所在， 查看源码：
在com.alibaba.druid.pool.DruidAbstractDataSource，
if (valid &a]]></description><category></category></item><item><title><![CDATA[使用Navicat远程连接MySQL8.0+版本]]></title><link>https://blog.csdn.net/Jason_We/article/details/113529649</link><guid>https://blog.csdn.net/Jason_We/article/details/113529649</guid><author>Jason_We</author><pubDate>Mon, 01 Feb 2021 22:05:35 +0800</pubDate><description><![CDATA[这里写自定义目录标题导航Mysql8.0+版本数据库用户加密方式远程连接第一步第二步相关文章
导航
最近忙里偷闲，总结一下MySQL8.0+ 版本的一些使用方法，这次主要讲：navicat连接mysql8.0+版本。
Mysql8.0+版本数据库用户加密方式
首先，MySQL8.0+版本默认的身份验证插件改为了caching_sha2_password，之前的版本是mysql_native_password。可以在mysql表中进行验证：
select user,host,plugin from user;]]></description><category></category></item><item><title><![CDATA[linux添加nginx系统服务]]></title><link>https://blog.csdn.net/Jason_We/article/details/112858164</link><guid>https://blog.csdn.net/Jason_We/article/details/112858164</guid><author>Jason_We</author><pubDate>Wed, 20 Jan 2021 10:21:34 +0800</pubDate><description><![CDATA[导航将nginx添加为linux系统服务第一步 写脚本第二步 配置一下
将nginx添加为linux系统服务
在Linux上安装好nginx后，除了通常需要配置的nignx conf文件外，将nginx 加入service 系统服务可以更便捷的管理nginx 服务。具体操作很简单，网上一搜一大把，这里把我整理的方法总结一下，做个备忘。
第一步 写脚本
在 /etc/init.d/ 目录下新建 nginx 文件， 将下面脚本写入：
#! /bin/bash
# chkconfig: 35 85 15
# de]]></description><category></category></item><item><title><![CDATA[Java 并发编程深入学习——线程池及其实现原理]]></title><link>https://blog.csdn.net/Jason_We/article/details/82632723</link><guid>https://blog.csdn.net/Jason_We/article/details/82632723</guid><author>Jason_We</author><pubDate>Tue, 11 Sep 2018 21:06:14 +0800</pubDate><description><![CDATA[Java线程池介绍

  线程池，从字面含义来看，是指管理一组同构工作线程的资源池。线程池是与工作队列（work Queue）密切相关的，其中工作队列中保存了所有等待执行的任务。工作者线程（Work Thread）的任务很简单：从工作队列中获取一个任务，执行任务，然后返回线程池并等待下一个任务。

使用线程池的优势

  在线程池中执行任务比为每个任务分配一个线程优势更多。主要体现在一下几个方面：...]]></description><category></category></item><item><title><![CDATA[基础知识备忘2]]></title><link>https://blog.csdn.net/Jason_We/article/details/82586644</link><guid>https://blog.csdn.net/Jason_We/article/details/82586644</guid><author>Jason_We</author><pubDate>Mon, 10 Sep 2018 11:09:26 +0800</pubDate><description><![CDATA[二维数组的长度：arr[][]
行长度： arr.length

列长度： arr[i] .length

判断字符串是否为空： str.trim().isEmpty()
eg: 请实现一个函数，将一个字符串中的每个空格替换成“%20”。例如，当字符串为We

Are Happy. 则经过替换之后的字符串为We%20Are%20Happy。


public String replaceSpace...]]></description><category></category></item><item><title><![CDATA[基础知识备忘1]]></title><link>https://blog.csdn.net/Jason_We/article/details/82586493</link><guid>https://blog.csdn.net/Jason_We/article/details/82586493</guid><author>Jason_We</author><pubDate>Mon, 10 Sep 2018 10:56:27 +0800</pubDate><description><![CDATA[协议分类：
    网络层：IP协议、ICMP协议、ARP协议、RARP协议。

   传输层：UDP协议、TCP协议。

应用层：FTP（文件传送协议）、Telenet（远程登录协议）、DNS（域名解析协议）、 SMTP（邮件传送协议），POP3协议（邮局协议），HTTP协议， SNMP协议， TFTP。


	1、常见的稳定的排序算法有：
	
（1）直接插入排序，（2）冒泡排序，（3）归并排序...]]></description><category></category></item><item><title><![CDATA[ServletResponse接口提供的两种输出流]]></title><link>https://blog.csdn.net/Jason_We/article/details/80763349</link><guid>https://blog.csdn.net/Jason_We/article/details/80763349</guid><author>Jason_We</author><pubDate>Thu, 21 Jun 2018 17:18:46 +0800</pubDate><description><![CDATA[ServletOutputStream对象用于输出字节，PrintWriter对象用于输出字符。常见的输出字符代码如下：PrintWriter writer = response.getWriter();
writer.println(&quot;文本和HTML&quot;);常见的输出字节的代码如下：ServletOutputStream out = response.getOutputStream();
out....]]></description><category></category></item><item><title><![CDATA[树莓派IP获取踩坑笔记]]></title><link>https://blog.csdn.net/Jason_We/article/details/80671250</link><guid>https://blog.csdn.net/Jason_We/article/details/80671250</guid><author>Jason_We</author><pubDate>Tue, 12 Jun 2018 21:32:18 +0800</pubDate><description><![CDATA[说明：本文仅适用于在pc端获取树莓派IP怎么都获取不到的童鞋们以下：    1.确保 设置》更改适配器选项》右键所连接的网络端口》选择属性》共享》&quot;允许xxxx&quot; 为未选中状态，点击确定。2.将烧录好的树莓派打开电源，通过网线接至pc，待网线接口指示灯闪烁一段时间后，再打开1.中的共享窗口，勾选“允许xxxx” ，点击确定。3.打开cmd控制台，输入arp -a  回车 ，就可以获取到树莓派的IP...]]></description><category></category></item><item><title><![CDATA[css实现水平居中的几种方法]]></title><link>https://blog.csdn.net/Jason_We/article/details/78795875</link><guid>https://blog.csdn.net/Jason_We/article/details/78795875</guid><author>Jason_We</author><pubDate>Wed, 13 Dec 2017 19:30:47 +0800</pubDate><description><![CDATA[css实现水平居中的几种方法]]></description><category></category></item><item><title><![CDATA[js和jQuery加载DOM的几种方法对比]]></title><link>https://blog.csdn.net/Jason_We/article/details/78795841</link><guid>https://blog.csdn.net/Jason_We/article/details/78795841</guid><author>Jason_We</author><pubDate>Wed, 13 Dec 2017 19:26:12 +0800</pubDate><description><![CDATA[js和jQuery加载DOM的几种方法比较]]></description><category></category></item><item><title><![CDATA[PreparedStatement 使用like 模糊查询]]></title><link>https://blog.csdn.net/Jason_We/article/details/78795533</link><guid>https://blog.csdn.net/Jason_We/article/details/78795533</guid><author>Jason_We</author><pubDate>Wed, 13 Dec 2017 18:53:36 +0800</pubDate><description><![CDATA[PreparedStatement 在数据库查询中是经常会用到的一个对象，经常的用法是类似这样的sql语句：
String sql = “select * from table where name =? ”]]></description><category></category></item></channel></rss>