Spring PackageScan
缘起
近期在写对于文档的扫描项目。想到 spring 的包扫描,觉得可以借鉴。
SpringMVC 源代码深度解析(context:component-scan)(扫描和注册的注解Bean)
下面的内容就是和上面文章是一样的,主要是理解一下过程。
将来打算在项目中使用。
component-scan
Usage
usage
对于扫描包配置的常见使用。
<...
2017-09-03 11:42:19 |
Spring
Baidu Pan
Pip
baidupcsapi 的安装用到了 pip 命令行。
mac 下安装pip
运行
$ sudo easy_install pip
日志如下
Searching for pip
Reading https://pypi.python.org/simple/pip/
Best match: pip 9.0.1
Downloading https://pypi....
2017-09-03 10:14:11 |
Baidu
Jasypt
Jasypt
Jasypt is a java library which allows the developer to add basic encryption capabilities to his/her projects with minimum effort,
and without the need of having deep knowledge on how crypt...
2017-09-02 01:15:18 |
Java
Spring Property 03- PropertyPlaceholderConfigurer 源码分析
拓展
后续 PropertySourcesPlaceholderConfigurer
PropertyPlaceholderConfigurer 类
类定义
public class PropertyPlaceholderConfigurer extends PlaceholderConfigurerSupport {
继承自 PlaceholderConfigurerSupp...
2017-09-01 14:17:36 |
Spring
Spring Property 02
Spring Property
Spring PropertySourcesPlaceholderConfigurer 工作原理
加密Spring加载的Properties文件
这个版本太老,但是思想是正确的。
Spring的PropertySourcesPlaceholderConfigurer的一点点小东东
PropertyPlaceholderConf...
2017-09-01 14:17:36 |
Spring
Note 201708
Target
非工作经济来源。
自由创作
创造力。坚持,有趣,敏锐。
自媒体
提升个人公信力
网页设计,室内设计
审美。艺术。
心理咨询师,健康咨询师
过硬的技能。良好的心态。
Skill
日积月累
英语/语文。
用于视频,文档,书籍。
写作(交流)应该是最好的使用方式。
数学
主要指高等数学。DL中会用到,建议随学随查。
搜索纯英文/wik...
2017-09-01 06:32:46 |
Note
Mybatis Exception
MyBatis Exception
简单记录 mybatis 使用时遇到的异常,便于日后查阅。
IllegalArgumentException
Error
报错信息如下:
Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [~/XXXMapp...
2017-09-01 06:32:46 |
Exception
Java Property
Property
简单记录一下,便于明天查阅。
为了测试方便,新建一个简单 Java 项目。目录结构如下:
.
├── a.properties
├── out
│ └── production
│ └── property
│ ├── Main.class
│ └── com
│ └── ryo
│ ...
2017-08-29 12:15:38 |
Java