#change server port#server.port=8081#mybatis Mapper object use @Mapper --- ObjectMapper.xml#mybatis.mapper-locations=classpath:mapper/*Mapper.xml#mybatis.config-location=classpath:mapper/config/sqlMapConfig.xml#alias#mybatis.type-aliases-package=persontest.demo.domain#database#spring.datasource.url=jdbc:mysql://localhost:3306/xxxx#spring.datasource.driver-class-name=com.mysql.jdbc.Driver#spring.datasource.username=root#spring.datasource.password=123456#redis usage: @EnableCaching @Cacheable(value="unique key")#spring.redis.host=192.168.0.76#spring.redis.port=6379#redis cluster # usage:create class RedisConfig with annotaion @Configuration# @Bean public JedisCluster getJedisCluster();# inject value by @Value("${spring.redis.cluster.nodes}") # @Autowired public JedisCluster jedisCluster;(a bean created above) #spring.redis.cluster.nodes=192.168.0.1:8080,192.168.0.2:8082