修正 starter 的 spring.factories 文件, 设定autoconfiguration
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.mvc.starter;
|
||||
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan(basePackages = "com.chinaunicom.mall.ebtp.cloud.mvc.starter")
|
||||
@PropertySource("classpath:mcv-configuration.properties")
|
||||
public class MvcStarterConfiguration {
|
||||
}
|
||||
|
@ -0,0 +1,3 @@
|
||||
# AutoConfiguration
|
||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
||||
com.chinaunicom.mall.ebtp.cloud.mvc.starter.MvcStarterConfiguration
|
Reference in New Issue
Block a user