GarouDan
04/19/2018, 5:44 PM...DataSource.kt:[32,5] Val cannot be reassigned
But this is looks strange because the actual code is:
@Bean
@Profile("local", "dev", "staging", "production")
open fun redisTemplate(): RedisTemplate<String, Any> {
val template = RedisTemplate<String, Any>()
template.connectionFactory = jedisConnectionFactory()
template.valueSerializer = GenericToStringSerializer(Any::class.java)
return template
}
Someone have a clue?