修改@Configuration属性配置,设置为false
This commit is contained in:
@ -41,7 +41,7 @@ import java.util.Map;
|
||||
* @date 2018-11-24
|
||||
*/
|
||||
@Slf4j
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@EnableCaching
|
||||
@ConditionalOnClass(RedisOperations.class)
|
||||
@EnableConfigurationProperties(RedisProperties.class)
|
||||
|
@ -45,7 +45,7 @@ import static springfox.documentation.schema.AlternateTypeRules.newRule;
|
||||
* @Date 2019/1/9
|
||||
**/
|
||||
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@EnableSwagger2
|
||||
public class SwaggerConfig {
|
||||
|
||||
@ -104,7 +104,7 @@ public class SwaggerConfig {
|
||||
/**
|
||||
* 将Pageable转换展示在swagger中
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@EnableSwagger2
|
||||
@EnableKnife4j
|
||||
@Import(BeanValidatorPluginsConfiguration.class)
|
||||
|
@ -18,7 +18,7 @@ import org.springframework.core.io.Resource;
|
||||
* @modified By:
|
||||
* @version: 1.0
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class DozerMapperConfig {
|
||||
@Bean
|
||||
public DozerBeanMapperFactoryBean dozerBeanMapperFactoryBean(@Value("classpath*:dozer/*.xml" ) Resource[] resources) throws Exception {
|
||||
|
Reference in New Issue
Block a user