修正 mvc-starter 配置文件
This commit is contained in:
@ -1,11 +1,15 @@
|
||||
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.Import;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
import com.chinaunicom.mall.ebtp.cloud.mvc.starter.advice.BusinessExceptionHandlerAdvice;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan(basePackages = "com.chinaunicom.mall.ebtp.cloud.mvc.starter")
|
||||
@Import({
|
||||
BusinessExceptionHandlerAdvice.class
|
||||
})
|
||||
@PropertySource("classpath:mcv-configuration.properties")
|
||||
public class MvcStarterConfiguration {
|
||||
}
|
||||
|
Reference in New Issue
Block a user