# spring-boot-weather **Repository Path**: mbigger/spring-boot-weather ## Basic Information - **Project Name**: spring-boot-weather - **Description**: No description available - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-01-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring-boot 天气服务 ## 主要知识点 * spring-boot整合redis及使用 * restTemplate使用 * xml解析及pojo映射 * 发布到maven中央仓库 * 配置maven的settings.xml * 配置项目pom.xml distributionManagement * mvn clean deploy ## 遇到的问题 * redis序列化问题(出现\xAC\xED\x00\x05t\x04\x07),使用stringRedisTemplate,或者设置redisTemplate序列化 * stringRedisTemplate无法注入问题,莫名其妙好了 * 路径加载开发环境和windows下使用`org.springframework.core.io.ClassPathResource`没有问题,但是Linux OpenJDK下使用不行,改为`this.getClass().getClassLoader().getResourceAsStream`都可以了。