- 博客(4)
- 收藏
- 关注
原创 Spring AOP
1 spring AOP 简介 1.1AOP 概述 1.1.1 AOP是什么? AOP(Aspect Orient Programming)是一种设计思想,是软件设计领域中的面向切面编程,它是面向对象编程(OOP)的一种补充和完善。它以通过预编译方式和运行期动态代理方式,实现在不修改源代码的情况下给程序动态统一添加额外功能的一种技术。如图-1所示: 图-1 AOP与OOP字面意思相近,但其实两者完全是面向不同领域的设计思想。实际项目中我们通常将面向对象理解为一个静态过程(例如一个系统有多少个模块,一个模块
2020-08-06 09:31:24
149
原创 Verify the connector‘s configuration, identify and stop any process that‘s listening on port 80, or
端口被占用 Verify the connector’s configuration, identify and stop any process that’s listening on port 80, or configure this application to listen on another port. 出现上面这种错误信息: 解决方案: 其解决方案为: 关闭已启动的tomcat,重新启动。 杀进程(windows) 查找进程id:netstat -ano|findstr “8080” 基于进
2020-07-29 11:38:43
2957
原创 GC垃圾回收机制
**1. JAVA中的断点(Debug)过程分析: 1)f8 当前断点运行结束,假如有下一个断点则直接跳转到下一个断点。 2)f6 单步执行 3)f5 进入调用的方法内部 4)f7 从方法内部出去回到调用处。 1.2 断点分析Integer类中的valueOf方法 public class TestDebug02 { public static void main(String[] args) { Integer a1=100;//等号右边的代码编译时执行的操作是Integer.valueOf(1
2020-07-16 16:16:02
183
原创 BUG 标题原因分析
BUG 标题原因分析 报500错误的解决方案: 端口启动失败的原因: 解决方案 出现: Failed to confingure a dataSource: no embedded datasource could be configured. 数据连接不上的解决方案 : 出现400错误的原因.,以及解决方案 : 出现 template might not exist :模版可能不存在这种错误: 解决方案: 出现: junit.jupiter.api.extension.Par
2020-07-16 16:01:44
855
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人