2020年12月21日
摘要:
在pom.xml文件中“spring-boot-maven-plugin” 报红了,显示not found 找不到。 在maven目录(\org\springframework\boot\spring-boot-maven-plugin\2.4.1)中,发现spring-boot-maven-plu
阅读全文
posted @ 2020-12-21 18:55
wnotes
阅读(15200)
推荐(0)
2020年12月16日
摘要:
JDBC连接mysql时出现问题: The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server o
阅读全文
posted @ 2020-12-16 16:32
wnotes
阅读(179)
推荐(0)
2020年11月23日
摘要:
1.反射 案例: 需求:写一个“框架”,不能改变该类的任何代码的前提下,可以帮我们创建任意类的对象,并且执行其中任意方法 实现: 1.配置文件 2.反射 步骤: 1.将需要创建的对象的全类名和需要执行的方法定义在配置文件中 2.在程序中加载读取配置文件 3.使用反射技术来加载类文件进内存 4.创建对
阅读全文
posted @ 2020-11-23 18:14
wnotes
阅读(117)
推荐(0)
摘要:
Junit单元测试 代码部分: 结构: CalculatorJ: public class CalculatorJ { /** * 加法 * @param a * @param b * @return */ public int add (int a , int b) { return a + b
阅读全文
posted @ 2020-11-23 18:12
wnotes
阅读(69)
推荐(0)
2020年11月15日
摘要:
线程池: 代码: public class Pool { public static void main(String[] args) { ExecutorService es = Executors.newFixedThreadPool(2); es.submit(new RunnableImpl
阅读全文
posted @ 2020-11-15 18:04
wnotes
阅读(302)
推荐(0)
2020年11月14日
摘要:
Java多线程1: 三种实现方法。 分别是继承Thread类、实现Runnable接口、实现Callable接口通过FutureTask包装器来创建Thread线程。使用ExecutorService、Callable、Future实现有返回结果的多线程用到了线程池,后面再具体介绍。 其中前两种方式
阅读全文
posted @ 2020-11-14 20:18
wnotes
阅读(64)
推荐(0)
2020年10月11日
摘要:
原文链接:https://blog.csdn.net/thesby/article/details/50850510 大家写中文论文时比较喜欢用CTEX,但是该软件安装必须小心!请按一下步骤安装: 在”计算机“上右键,找到”属性“,然后点击高级系统设置。 点击“环境变量”,找到“系统变量”中的pat
阅读全文
posted @ 2020-10-11 12:50
wnotes
阅读(412)
推荐(0)
2020年7月29日
摘要:
https://jingyan.baidu.com/article/39810a23e37f9db636fda6cd.html
阅读全文
posted @ 2020-07-29 18:48
wnotes
阅读(503)
推荐(0)
2020年7月25日
摘要:
参考: https://www.cnblogs.com/codexj/p/12606037.html
阅读全文
posted @ 2020-07-25 21:21
wnotes
阅读(200)
推荐(0)
摘要:
方式一:yum安装 安装: yum install nginx 启用并启动Nginx服务: $ sudo systemctl enable nginx $ sudo systemctl start nginx 停止服务: $ sudo systemctl stop nginx 要验证服务是否正在运行
阅读全文
posted @ 2020-07-25 16:19
wnotes
阅读(17599)
推荐(0)