Spring源码阅读
文章平均质量分 94
from_lazy_boy
热爱技术与分享...
展开
-
IntelliJ IDEA 编译时报错:“编码GBK的不可映射字符”
解决办法:Setting->File Encodings->Project Encoding选择utf-8,Default encoding for properties files 也选择 UTF-8这是网上搜的办法好像不管用.重启也不管用这样设置过后右键项目然后右键单击项目点击Build Module重新加载项目就可以了...原创 2020-10-14 21:04:26 · 476 阅读 · 0 评论 -
Spring源码的提交
1. 先在spring-framework工程下执行如下命令gradlew clean2. 然后执行编译命令gradlew build3. 如果没报错,则可以正常提交.如果报错,按提示修复后再提交.原创 2020-10-13 20:44:04 · 274 阅读 · 0 评论 -
Spring Debug AOP
1. 创建一个TestBean/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at原创 2020-10-12 15:01:14 · 231 阅读 · 0 评论 -
Spring编码规范
该文档定义了Spring Framework中源文件的编码标准。 它主要供Spring Framework团队使用,但可供贡献者用作参考。本文档的结构基于Google Java样式参考,目前正在进行中。-摘自https://github.com/spring-projects/spring-framework/wiki/Code-Style1. 不遵循Spring编码规范的调试法修改spring-framework/src/checkstyle/checkstyle.xml,删除所有检查项,仅保原创 2020-09-26 16:36:32 · 1141 阅读 · 0 评论 -
IDEA阅读spring源码并调试
阿里云服务器优惠券领取 优惠券目标:搭建起Spring源码阅读和代码调试跟踪的环境,顺便建立一个简单的Demo,能够调试Spring的源代码本节,主要介绍一下Spring源码阅读和调试的相关环境搭建,并使用MVN创建一个非常简单的Demo,以便可以跟踪和调试Spring的内核。1、源码的下载Spring的源码可以从GitHub上下载:https://github.com/spri.........原创 2018-06-15 16:39:42 · 45047 阅读 · 5 评论