摘要: 2019-06-26 22:19:57.408642475 java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either 阅读全文
posted @ 2019-06-26 22:28 牧之丨 阅读(3849) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/zdd-java/p/7861824.html 前言: 最近接手了一个项目,大概过了下需求,然后打开项目准备开搞的时候发现一个问题,这个项目是提供rest服务的一个web项目,其中很多旧系统由于还没改成微服务,所以只能通过HttpClient发起调用。 阅读全文
posted @ 2019-06-26 21:33 牧之丨 阅读(321) 评论(0) 推荐(0) 编辑
摘要: @Controller@ComponentScan@Configuration@EnableScheduling@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class, DataSourceTransactionMana 阅读全文
posted @ 2019-06-26 19:47 牧之丨 阅读(628) 评论(0) 推荐(0) 编辑
摘要: package cn.xx.yy;import java.util.ArrayList;import java.util.HashMap;import java.util.List;import java.util.Map;@EnableWebMvc@Configurationpublic clas 阅读全文
posted @ 2019-06-26 19:45 牧之丨 阅读(4244) 评论(0) 推荐(0) 编辑
摘要: For anyone with a similar problem - turns out that spring-jersey used in the project was setting up its own context. My context and the spring-jersey 阅读全文
posted @ 2019-06-26 19:42 牧之丨 阅读(3043) 评论(0) 推荐(0) 编辑