【Spring boot读取application.properties中文乱码】与天地兮比寿,与日月兮齐光。这篇文章主要讲述Spring boot读取application.properties中文乱码相关的知识,希望能为你提供帮助。
解决方案java开发工具Idea下解决方案:
File ->
Settings ->
Editor ->
File Encodings
将Properties Files (*.properties)下的Default encoding for properties files设置为UTF-8,将Transparent native-to-ascii conversion前的勾选上。
注意:做了上面操作后,一定要重新创建application.properties,才有效。
推荐阅读
- UPenn - Robotics 5:Robotics: Estimation and Learning - week 3:Mapping
- 错误解决BeanDefinitionStoreException: Failed to read candidate component class: file [mapper.class文件];
- Maven 项目创建时遇到问题 (Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:1.0
- ssm mapper.xml讲解
- celery application
- mybatis mapper xml????????????????????????????????????
- Spark mapPartitions 及mapPartitionsWithIndex算子
- jQuery文档操作--append()prepend()after()和before()
- 1027代码审计平台 4-安卓项目