mirror of
https://gitee.com/dcren/cloud-native-app-initializer.git
synced 2026-05-19 17:31:28 +08:00
注解添加utf-8参数
This commit is contained in:
@@ -41,7 +41,7 @@ import org.springframework.core.io.ResourceLoader;
|
|||||||
* @see io.spring.initializr.web.autoconfigure.InitializrAutoConfiguration
|
* @see io.spring.initializr.web.autoconfigure.InitializrAutoConfiguration
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
@PropertySource(value = "${application.metadata-path:classpath:metadata.yaml}", factory = YamlPropertiesSourceFactory.class)
|
@PropertySource(value = "${application.metadata-path:classpath:metadata.yaml}",encoding = "UTF-8", factory = YamlPropertiesSourceFactory.class)
|
||||||
@EnableConfigurationProperties({InitializerProperties.class})
|
@EnableConfigurationProperties({InitializerProperties.class})
|
||||||
public class InitializerMetadataConfigure {
|
public class InitializerMetadataConfigure {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user