![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
字母的艺术
make it happen !
展开
-
解决One or more listeners failed to start. Full details will be found in the appropriate container log
WEB-INF/classes目录下添加【logging.properties】文件内容为:org.apache.catalina.core.ContainerBase.[Catalina].level=INFO org.apache.catalina.core.ContainerBase.[Catalina].handlers=java.util.logging.ConsoleHandlerr...原创 2018-05-20 14:27:23 · 8818 阅读 · 1 评论 -
Spring 中IOC 、DI 入门案例及分析
1、IOC将控制权转给spring容器,思路:主动new的地方 => 使用ioc给spring。入门案例如下:public interface UserService { public void addUser();}public class UserServiceImpl implements UserService { @Override public void addUs...原创 2018-05-14 21:48:12 · 293 阅读 · 0 评论