![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
Winfred_HE
这个作者很懒,什么都没留下…
展开
-
spring 4.0 + mybatis + druid-1.0.11 .properties中 的 username password 加密
在spring4.0 + mybatis + druid-1.0.11 中通过复写Spring 中的processProperties方法是实现不了.properties中的username和password 的加密的,因为好像druid会直接读取.properties中的东西,而不是直接在Spring管理的容器中获取。因此我们要通过其他的方法来实现加密。 在网...2016-03-17 09:13:28 · 172 阅读 · 0 评论 -
Spring 中的.properties 属性(jdbc.password)加密
1、复写processProperties方法实现 package com.*.*; import java.util.Properties; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.Configurable...原创 2015-12-28 16:03:21 · 1213 阅读 · 0 评论 -
org.springframework.web.context.ContextLoaderListener java.lang.NoClassDefFoundError
org.springframework.web.context.ContextLoaderListener java.lang.NoClassDefFoundError 1、Could not initialize class org.springframework.beans.factory.BeanCreationException 问题是: 定义了多个listener 都是通过实现public interface ServletContextListener extends EventListener原创 2020-07-02 09:18:24 · 519 阅读 · 0 评论