<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[hou_shiyu的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/hou_shiyu</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; hou_shiyu]]></copyright><item><title><![CDATA[Error starting ApplicationContext. To display the conditions report re-run y]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/120969568</link><guid>https://blog.csdn.net/hou_shiyu/article/details/120969568</guid><author>hou_shiyu</author><pubDate>Tue, 26 Oct 2021 12:10:51 +0800</pubDate><description><![CDATA[Please report to IDEA support: java.io.IOException: ?????



报错，在项目运行开始



从前有个沙雕软件，叫idea，昨天项目运行没问题，今天就出问题了



解决：管理员身份打开idea
]]></description><category></category></item><item><title><![CDATA[2021-01-13]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/112563589</link><guid>https://blog.csdn.net/hou_shiyu/article/details/112563589</guid><author>hou_shiyu</author><pubDate>Thu, 14 Jan 2021 14:55:14 +0800</pubDate><description><![CDATA[步骤1

安装erlang
	安装rabbitMQ
	做好准备，连接成功，访问http://localhost:15672
这些我就不多说了，rabbitmq可以去官网下载，每个版本都有对应的erlang版本说明，这里推荐https://www.cnblogs.com/z-1026/p/9985389.html下载安装，另外我还参考了：https://www.cnblogs.com/saryli/p/9729591.html这个博客


讲一下我遇到的问题：由于我第一次安装了6.2版本，与我的rabbitm]]></description><category></category></item><item><title><![CDATA[实用的idea插件]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/111317403</link><guid>https://blog.csdn.net/hou_shiyu/article/details/111317403</guid><author>hou_shiyu</author><pubDate>Thu, 17 Dec 2020 16:08:12 +0800</pubDate><description><![CDATA[1、jrebel and XRebel for IntelliJ——热部署插件，不需要多次重启maven项目

https://blog.csdn.net/lianghecai52171314/article/details/105637251教程可以看这篇博客



2、Alibaba Java Coding Guidelines——阿里巴巴编码规范

会根据你的代码自动提示代码是否符合规范



3、Convert YAML and Properties——将yaml转换成properties文件
..]]></description><category></category></item><item><title><![CDATA[maven中有XX包无法删掉怎么办？maven包下载卡住怎么办？需要全部删掉吗？]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/109640904</link><guid>https://blog.csdn.net/hou_shiyu/article/details/109640904</guid><author>hou_shiyu</author><pubDate>Thu, 12 Nov 2020 11:55:49 +0800</pubDate><description><![CDATA[至于为什么引出这个问题，问题的表象是什么？

起初问题是下载公司的archetype maven模型下载到一半卡顿，计算机此时无法将文件继续写入。如图：某些jar downloading就没有后续了……但是点击链接正常下载 -----可证-----&gt; 网络没问题




maven包下载卡住怎么办？需要全部删掉吗？

不需要，只需要把loading中卡住的那个包删掉就可以了，其他包已经下载好的不需要删掉。




起初我以为是网络太慢，然后



我下载了一晚上……



最后用网上大多数人的解...]]></description><category></category></item><item><title><![CDATA[Set的用法以及相关例题——插入不重复元素]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/81220387</link><guid>https://blog.csdn.net/hou_shiyu/article/details/81220387</guid><author>hou_shiyu</author><pubDate>Sat, 03 Oct 2020 14:50:20 +0800</pubDate><description><![CDATA[Set的说明

图示



Set 集合类似于一个罐子，把一个对象添加到Set集合时，Set集合无法记住添加这个元素的顺序，所以Set里的元素不能重复（否则系统无法准确识别这个元素）

List集合非常像一个数组，它可以记住每次添加元素的顺序，只是List长度可变。

Map集合也像一个罐子，只是它里面的每项数据都由两个值组成。



头文件

#include   &amp;lt;set&amp;gt;...]]></description><category></category></item><item><title><![CDATA[代码思路详解——初识C++（勿喷）]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/81223246</link><guid>https://blog.csdn.net/hou_shiyu/article/details/81223246</guid><author>hou_shiyu</author><pubDate>Sat, 03 Oct 2020 14:49:50 +0800</pubDate><description><![CDATA[容器的使用



栈：①考虑栈为空   ②考虑出栈的个数
有关lower_bound函数的使用

lower_bound

结构体

写一个代码思路很重要，就拿这个例题来说，首先，我们可以将起始点加入我们的队列中，距离和供油量为0.需要得到多组数据并为其赋值还要不互相影响，要使用什么知识来解决这个问题呢？我们最先可能会想到数组，但数组是有局限性的，无法将汽油以及和站点很好的联系起来，这个时候，...]]></description><category></category></item><item><title><![CDATA[常见错误类型]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/81279153</link><guid>https://blog.csdn.net/hou_shiyu/article/details/81279153</guid><author>hou_shiyu</author><pubDate>Sat, 03 Oct 2020 14:49:27 +0800</pubDate><description><![CDATA[时间超出限制


#include&amp;lt;cstdio&amp;gt;
using namespace std;
int main() {
	int n,t,x,c,a[10005];
	while(scanf(&quot;%d%d%d&quot;,&amp;amp;n,&amp;amp;t,&amp;amp;c)!=EOF) {

		int sum=0,cnt=0;
		for(int i=0; i&amp;lt;n; i++) {
			scanf...]]></description><category></category></item><item><title><![CDATA[第一个网页，嘿嘿]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/86601976</link><guid>https://blog.csdn.net/hou_shiyu/article/details/86601976</guid><author>hou_shiyu</author><pubDate>Sat, 03 Oct 2020 14:47:50 +0800</pubDate><description><![CDATA[&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt; 我的第一个网页&amp;lt;/title&amp;gt;
	&amp;lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html;cahrset=utf-8&quot;&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;h]]></description><category></category></item><item><title><![CDATA[链表总结]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/105979979</link><guid>https://blog.csdn.net/hou_shiyu/article/details/105979979</guid><author>hou_shiyu</author><pubDate>Thu, 07 May 2020 19:40:48 +0800</pubDate><description><![CDATA[直接上代码，有不合理之处希望大伙们提点修改意见：

包含了链表的删除，增加，顺序增加，修改，查找倒数第k个元素，递归思想创建链表，递归思想反转链表，非递归思想反转链表，逆序打印链表；


package com.housy.linklist;

import java.awt.HeadlessException;
import java.lang.Thread.State;
import java...]]></description><category></category></item><item><title><![CDATA[java实现给图片加水印]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/105723120</link><guid>https://blog.csdn.net/hou_shiyu/article/details/105723120</guid><author>hou_shiyu</author><pubDate>Fri, 24 Apr 2020 09:02:42 +0800</pubDate><description><![CDATA[由于网上加水印需要RMB……，在别人的小轮子上面又改了改：


package club.housy.watermark.util;


import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Image;
imp...]]></description><category></category></item><item><title><![CDATA[Mario小项目]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/105559833</link><guid>https://blog.csdn.net/hou_shiyu/article/details/105559833</guid><author>hou_shiyu</author><pubDate>Thu, 16 Apr 2020 15:56:10 +0800</pubDate><description><![CDATA[很久没写博客了，这几天做了一个马里奥小项目，有基本功能的实现，运行截图如下：









瞎凑合看吧，毕竟素材有限，基本功能实现；

源码：https://github.com/Housy/mario.git
...]]></description><category></category></item><item><title><![CDATA[操作系统课设——linux下基于信号量互斥申请（一）]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/103847264</link><guid>https://blog.csdn.net/hou_shiyu/article/details/103847264</guid><author>hou_shiyu</author><pubDate>Mon, 06 Jan 2020 08:34:44 +0800</pubDate><description><![CDATA[课设任务

设计内容：

1.创建进程：手动创建几个进程，或者随即创建几个进程，都在界面上完成；要求包括进程的名称（不能重复）、执行时间和申请资源的等待时间等。在此同时刻可能有多个进行在内存申请某资源。 假设创建5个进程

2.类临界资源的管理，包括申请以及分配等。分别通过信号量实现或者管程实现。

3.银行家算法，判断是否可以进行资源的分配。



设计要求：

调用相关的Linux系统内核函...]]></description><category></category></item><item><title><![CDATA[jad反编译]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/100603358</link><guid>https://blog.csdn.net/hou_shiyu/article/details/100603358</guid><author>hou_shiyu</author><pubDate>Sat, 07 Sep 2019 17:55:24 +0800</pubDate><description><![CDATA[java反编译工具jad

下好以后解压就可以用了，软件就只有一个exe文件和一个帮助文件。
在众多的JAVA反编译工具中，有几种非常著名的工具使用了相同的核心引擎——JAD，其中主要包括：Front
End Plus、mDeJava、Decafe Pro、Cavaj Java Decompiler、DJ Java  
Decompiler、NMI’s Java Class Viewer和国...]]></description><category></category></item><item><title><![CDATA[第十七章 容器深入研究]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/99690621</link><guid>https://blog.csdn.net/hou_shiyu/article/details/99690621</guid><author>hou_shiyu</author><pubDate>Sat, 17 Aug 2019 12:24:15 +0800</pubDate><description><![CDATA[1、完整容器分类法



2、填充容器

Collections类也有一些实用的static方法，其中包括fill，同Arrays一样只复制同一对象引用来填充整个容器的，并且只对List对象有用，但是所产生的列表可以传递给构造器或addAll方法：


class StringAddress {
 private String s;
 public StringAddress(String s...]]></description><category></category></item><item><title><![CDATA[持有引用]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/99689150</link><guid>https://blog.csdn.net/hou_shiyu/article/details/99689150</guid><author>hou_shiyu</author><pubDate>Sat, 17 Aug 2019 10:58:09 +0800</pubDate><description><![CDATA[再谈持有引用之前，我们需要了解一下可达性分析算法。

1、可达性分析算法

在java中，我们是通过可达性分析来判断对象是否存活，基本思想是：通过一系列的称为“GC Roots”的对象作为起始点，从这些节点开始向下搜索，搜索所走过的路径称为引用链（Reference Chain），当一个对象到GC Roots没有任何引用链相连，也就是从GC Roots到这个对象不可达时，则证明此对象是不可用的，如...]]></description><category></category></item><item><title><![CDATA[第十五章  泛型]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/99224996</link><guid>https://blog.csdn.net/hou_shiyu/article/details/99224996</guid><author>hou_shiyu</author><pubDate>Wed, 14 Aug 2019 13:17:17 +0800</pubDate><description><![CDATA[一般的类和方法，只能使用具体的类型：要么是基本类型，要么是自定义的类，如果要编写可以应用与多种类型的代码，这种刻板的限制对代码的束缚就会很大。

1、简单泛型

核心概念：告诉编译器想要用什么类型，然后编译器帮你处理一切细节。

1.1 一个元组类库

下面的程序是一个2维元组，它能够持有两个对象：


//: net/mindview/util/TwoTuple.java
package net...]]></description><category></category></item><item><title><![CDATA[Java 泛型，你了解类型擦除吗？]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/99305748</link><guid>https://blog.csdn.net/hou_shiyu/article/details/99305748</guid><author>hou_shiyu</author><pubDate>Mon, 12 Aug 2019 16:13:05 +0800</pubDate><description><![CDATA[转自：https://blog.csdn.net/briblue/article/details/76736356

很优秀的一篇文章，解决了我的疑问。

泛型，一个孤独的守门者。

大家可能会有疑问，我为什么叫做泛型是一个守门者。这其实是我个人的看法而已，我的意思是说泛型没有其看起来那么深不可测，它并不神秘与神奇。泛型是 Java 中一个很小巧的概念，但同时也是一个很容易让人迷惑的知识点，它让人...]]></description><category></category></item><item><title><![CDATA[向上转型的作用]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/99086741</link><guid>https://blog.csdn.net/hou_shiyu/article/details/99086741</guid><author>hou_shiyu</author><pubDate>Sat, 10 Aug 2019 17:02:10 +0800</pubDate><description><![CDATA[一、什么是向上转型

上转型对象不是父类创建的对象，而是子类对象的“简化”状态，它不关心子类新增的功能，只关心子类继承和重写的功能。

当一个类有很多子类时，并且这些子类都重写了父类中的某个方法。

当使用上转型对象在调用这个方法时就可能具有多种形态。因为不同的子类在重写父类的方法时可能产生不同的行为。也就是说，不同对象的上转型对象调用同一方法可能产生不同的行为。


class Car {
 ...]]></description><category></category></item><item><title><![CDATA[第十四章 类型信息]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/99047243</link><guid>https://blog.csdn.net/hou_shiyu/article/details/99047243</guid><author>hou_shiyu</author><pubDate>Sat, 10 Aug 2019 11:17:23 +0800</pubDate><description><![CDATA[运行时类型信息使得你可以在程序运行时发现和使用类型信息。

1、运行时发现和使用类型信息

传统RTTI（运行时识别一个对象的类型）
	反射
	instanceof关键字
1.1 为什么需要RTTI

基本目的：让代码只操纵对基类的引用；


//: typeinfo/Shapes.java
import java.util.*;

abstract class Shape {
  void dr...]]></description><category></category></item><item><title><![CDATA[交叉的梯子PKU2507]]></title><link>https://blog.csdn.net/hou_shiyu/article/details/98885671</link><guid>https://blog.csdn.net/hou_shiyu/article/details/98885671</guid><author>hou_shiyu</author><pubDate>Thu, 08 Aug 2019 21:16:44 +0800</pubDate><description><![CDATA[Crossed ladders

Time Limit:1000MS
			
			Memory Limit:65536K
		Total Submissions:5476
			
			Accepted:2070
		Description

A narrow street is lined with tall buildings. An x foot long ladder is...]]></description><category></category></item></channel></rss>